Tag Archives: C#

Cross-platform WaitForMultipleObjects like function?

Sometimes we need to simultaneously wait to get notified on one of many things. For example, in a thread we could wait to get notiofied about main program requesting shutdown, or another thread leting us known that data to be processed is available. While in windows this could be elegantly solved with the WaitForMultipleObjects() call, [...]