Boost logo

Boost Users :

From: Zeljko Vrba (zvrba_at_[hidden])
Date: 2008-03-17 11:03:37


On Mon, Mar 17, 2008 at 09:42:46AM -0400, Hal Vaughan wrote:
>
> Am I doing something wrong or is there a setting I need to change?
>
That's normal behavior; threads are scheduled by the OS. In your case,
the thread fills the buffer faster then its timeslice expires, so you
see buffer being filled/emptied in "batches". If you want them to be
interleaved, lower the buffer size or try running on an SMP machine.


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