Boost logo

Boost Users :

Subject: [Boost-users] [thread] equivalent of WaitForSingleObject
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2011-02-16 14:21:23


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.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net