Threading and ManualResetEvent vs Thread.Sleep
Found this really interesting post on StackOverflow that clarified the performance difference between using events and the more obvious but less efficient Thread.Sleep(). We have a real-time messaging app that we wanted to wait on calling back the client if a message was not queued up for delivery (to avoid unnecessary callbacks if messages were …
Continue reading ‘Threading and ManualResetEvent vs Thread.Sleep’ »