2010-04-15 Jérémie Laval <jeremie.laval@gmail.com>
[mono.git] / mcs / class / corlib / System.Threading.Tasks / Internal / ThreadWorker.cs
index cad86d43482e06fb89789785fd5b52416f73170c..50b1fcd41beba222d677ce51653b08c827c2fb6a 100644 (file)
@@ -1,4 +1,4 @@
-#if NET_4_0
+#if NET_4_0 || BOOTSTRAP_NET_4_0
 // ThreadWorker.cs
 //
 // Copyright (c) 2008 Jérémie "Garuma" Laval
@@ -100,6 +100,7 @@ namespace System.Threading.Tasks
        
                                this.workerThread.IsBackground = true;
                                this.workerThread.Priority = priority;
+                               this.workerThread.Name = "ParallelFxThreadWorker";
                        };
                        threadInitializer ();
                }