From: Andy (atompkins_at_[hidden])
Date: 2007-04-30 14:03:34
"Henrik Sundberg" <storangen_at_[hidden]> wrote in
> This is not a review, just a remark.
>>From the documentation:
> The boost::guid::create() function returns a random-number-based
> guid... All functions are thread-safe except boost::guid::create().
Bad working. All functions are thread-safe without using thread
primitives, except for boost::guid::create(). The function,
boost::guid::create(), needs a mutex to be thread safe. If
BOOST_HAS_THREADS is defined, Boost.Thread is used to make
boost::guid::create() thread safe.
> Why isn't this routine made thread-safe? Why are the other routines
> thread-safe when this isn't?
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk