diff options
author | Ludovic Henry <ludovic.henry@xamarin.com> | 2015-04-21 14:15:30 +0300 |
---|---|---|
committer | Ludovic Henry <ludovic.henry@xamarin.com> | 2015-07-01 18:04:36 +0300 |
commit | 93bb234cea3676b97559e752dcf82a26915d5f32 (patch) | |
tree | cb285cfd05554ccc5a7d7bbc2f062f01c6398cde /mcs/class/corlib/System.Threading | |
parent | 613c2a9182194f4110397c38c209c743c18b22d2 (diff) |
[threadpool] Remove mono threadpool implementation
Diffstat (limited to 'mcs/class/corlib/System.Threading')
-rw-r--r-- | mcs/class/corlib/System.Threading/Timer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/corlib/System.Threading/Timer.cs b/mcs/class/corlib/System.Threading/Timer.cs index 780cb9a140d..9efb484e3d8 100644 --- a/mcs/class/corlib/System.Threading/Timer.cs +++ b/mcs/class/corlib/System.Threading/Timer.cs @@ -347,7 +347,7 @@ namespace System.Threading list.RemoveAt (i); count--; i--; - ThreadPool.QueueWorkItem (TimerCB, timer); + ThreadPool.UnsafeQueueUserWorkItem (TimerCB, timer); long period = timer.period_ms; long due_time = timer.due_time_ms; bool no_more = (period == -1 || ((period == 0 || period == Timeout.Infinite) && due_time != Timeout.Infinite)); |