Single thread timer scheduler patch sent to mono-dev
For instance in the code below: using System.Threading; public class foo { public static void Main() { new Timer(new TimerCallback(cb),null,200,5000); Thread.Sleep(Timeout.Infinite); } public static void cb(object state) {} } the current implementation of Threading.Timer will create a new thread for every new Timer object created. Why is this bad you might ask… well, primarily this [...]