Hi:
I’ve got some boost code that calls wait for single object on windows.
I’d like to transition this to use boost.thread.
What is the best way of doing this, in the while loop I’m doing:
while( WaitForSingleObject( hDir, WAIT_TIMEOUT ) != WAIT_OBJECT_0 )
Any help appreciated.
Cheers
Sean.