WaitForMultipleObjects Problem!
Thankyou all for your quick replies and a big thanks to Erik, it was indeed the use of a "Done" in CreateEvent that was the problem, setting to NULL and all works fine, thankyou again :) Ratings to All :)
The problem is that you've given them all the same name (it seems) which means they're actually all the same event.
In general, you shouldn't need to give your events (or mutexes or any other synchronization objects) a name unless you want to share them between processes.
In general, you shouldn't need to give your events (or mutexes or any other synchronization objects) a name unless you want to share them between processes.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement