|
Boost Users : |
From: Jonathan Franklin (franklin.jonathan_at_[hidden])
Date: 2008-03-17 12:03:02
On Mon, Mar 17, 2008 at 9:50 AM, Hal Vaughan <hal_at_[hidden]>
wrote:
>
> ...I want to be sure that the monitoring thread
> won't be blocked while data it needs is coming in, but I don't want that
> thread to block the other one while it (the monitoring thread) is waiting
> for incoming data.
If you're doing synchronous reads and there is no data, then the reading
thread will block (e.g. take no cpu cycles) until there is something to
read.
Jon
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