RE: https://mastodon.social/@MK2k/116291170000529656

That WINE had to resort to a heroic custom kernel driver to efficiently implement `WaitForMultipleObjects()` (Windows NT/95) points to a deeper problem with the Linux kernel’s design or governance.

@marshray maybe they don't care a great deal. That's not a big or disfunction.

@rsalz Like `select()`, but for synchronization primitives in addition to I/O handles

Maybe you want a message processing loop that can also respond to a global shutdown event?

And it actually returns the index of the evented object.

Crazy, I know.