
"Henrik Sundberg" <storangen@gmail.com> wrote in news:aef9adb00704300822q2459684ex994be6b70700275a@mail.gmail.com:
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. Andy Tompkins.
Why isn't this routine made thread-safe? Why are the other routines thread-safe when this isn't?
/$ _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost