$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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.