Boost logo

Boost :

Subject: Re: [boost] [xint] Third release is ready, requesting preliminary review
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2010-05-02 13:26:45

Hash: SHA1

On 05/02/2010 12:43 PM, Kim Barrett wrote:

>> \The only thing that I need Boost.Thread for is serializing access
>> to the random number generator -- I assume that most of the
>> generators provided by Boost.Random can't tolerate being used by
>> multiple threads simultaneously.
>> Boost.Thread is major overkill for that purpose, at least in my
>> opinion, but until Boost.Atomic or something similar is approved,
>> it's the only cross-platform way that I know of to safely serialize
>> access without writing my own code for the purpose.
> I believe much of Boost.Thread can be used header-only. In
> particular, I'm pretty sure the mutex stuff doesn't require linking
> against the Boost.Thread library.

That would make my life easier. :-) I don't see any reference to it in
the Boost.Thread documentation though... if it turns out that I still
need it after everything else is hashed out, I'll see what I can find in
the source code. Thanks for the hint.
- --
Chad Nelson
Oak Circle Software, Inc.
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla -


Boost list run by bdawes at, gregod at, cpdaniel at, john at