> Not sure if its suitable here, but please note that Wines threadpool implementation also supports waiting on more than 64 objects (using similar tricks). If possible, it would be better to avoid the second implementation. Not sure what you mean. Are you talking about timerqueue_thread_proc?