|
Boost : |
From: Roland (roland.schwarz_at_[hidden])
Date: 2004-01-06 10:51:44
(Munagala Ramanath <amberarrow_at_[hidden]>) wrote:
> Could something like this work ? Have the controller thread wait on select()
> and have a separate thread wait on a condition; when the condition occurs, it
> writes a character to a pipe which then causes the controller to wake up
> from the select().
Yes, of course. This is almost exactly what I did, but "select()" is Linux (posix too?) specific.
I am l looking for a platform independent way.
Roland
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk