Add overloads to ThreadAssist.Spawn to pass a ThreadPriority.

 ChangeLog                          |    5 +++++
 src/Core/Banshee.Base/Utilities.cs |   10 ++++++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

Index: src/Core/Banshee.Base/Utilities.cs
===================================================================
--- src/Core/Banshee.Base/Utilities.cs	(revision 2121)
+++ src/Core/Banshee.Base/Utilities.cs	(working copy)
@@ -261,19 +261,25 @@
             }
         }
         
-        public static Thread Spawn(ThreadStart threadedMethod, bool autoStart)
+        public static Thread Spawn(ThreadStart threadedMethod, bool autoStart, ThreadPriority priority)
         {
             Thread thread = new Thread(threadedMethod);
             thread.IsBackground = true;
             if(autoStart) {
                 thread.Start();
             }
+            thread.Priority = priority;
             return thread;
         }
+
+        public static Thread Spawn(ThreadStart threadedMethod, bool autoStart)
+        {
+            return Spawn(threadedMethod, autoStart, ThreadPriority.Normal);
+        }
         
         public static Thread Spawn(ThreadStart threadedMethod)
         {
-            return Spawn(threadedMethod, true);
+            return Spawn(threadedMethod, true, ThreadPriority.Normal);
         }
     }
     
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 2121)
+++ ChangeLog	(working copy)
@@ -1,3 +1,8 @@
+2007-02-27  Ruben Vermeersch  <ruben@savanne.be>
+
+	* src/Core/Banshee.Base/Utilities.cs: Add overloads to ThreadAssist.Spawn
+	to pass a ThreadPriority.
+
 2007-02-26  Mike Kestner  <mkestner@novell.com>
 
 	* autogen.sh: don't clobber existing ACLOCAL_FLAGS.
