Date: 2001-06-28 12:12:46
Author: gcolvin (gcolvin_at_[hidden]) at unix,mime
Date: 28/06/01 17:48
>From: Peter Dimov <pdimov_at_[hidden]>
> From: "Greg Colvin" <gcolvin_at_[hidden]>
> > From: Peter Dimov <pdimov_at_[hidden]>
> > >
> > > My limited experience with threads has always followed the pattern
> "spawn a
> > > worker thread to perform lengthy operation X without blocking the main
> > > thread, leaving it responsive." (Minor variations include "to perform
> > > background operation Y", like keeping a buffer full of data.)
> > >
> > > What is the usual 'join' model?
> > "And join the worker thread when the main thread needs the
> > result of the work."
> But joining the worker thread blocks the main thread.
>Which needs the result at that point before it can continue,
>so blocking is appropriate?
Visit our website at http://www.ubswarburg.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk