Boost logo

Boost Users :

Subject: Re: [Boost-users] Simple threading question (I hope)
From: Alec Munro (amunro_at_[hidden])
Date: 2008-11-07 09:44:02


Thanks for the responses, Rodrigo and Steve!

 

I hadn't even considered that one of the threads might be pre-empted
before it locked the client_mutex, but after it read the data.

 

I'll rethink my implementation a little bit and see if I can get around
that.

 

Alec

 

________________________________

From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Rodrigo Madera
Sent: Thursday, November 06, 2008 6:53 PM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] Simple threading question (I hope)

 

Take a look at the bounded_buffer example in the circular_buffer
documentation.

Rodrigo

P.S. Steve, why the AMDG in all of your emails?

--------------------------------------------------------------------- This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.



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