In my last post I discussed the use of WaitForSingleObject in relation to mutexes and possible ways to implement equivalent functionality when porting such code to GNU/Linux. In this post I will describe the use of this API with event objects in Microsoft Windows and suggest possible ways of posting such code to GNU/Linux or [...]
Recently I was involved in porting a 32-bit application which was initially written for Microsoft Windows NT to GNU/Linux. This application contained a large number of calls to NtWaitForSingleObject and a smaller number of calls to NtWaitForMultipleObject.
Now anybody who has had to port code containing more than a few instances of these particular Win32 [...]