* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / corlib / System.Threading / SynchronizationContext.cs
index b69eeaed71014fc401bf1fe820c0ae85eb958d86..6ede32d76245ec724a7cf0fc8ec5a96a35de798e 100644 (file)
@@ -74,7 +74,7 @@ namespace System.Threading
                
                public virtual void Post (SendOrPostCallback d, object state)
                {
-                       d.BeginInvoke (state, null, null);
+                       ThreadPool.QueueUserWorkItem (new WaitCallback (d), state);
                }
                
                public virtual void Send (SendOrPostCallback d, object state)