
Thanks for pointing this out. It looks to me that this would require linking with the thread library. I was thinking more along the lines of something built with the code in boost/detail/lightweigth_mutex Robert Ramey Tobias Schwinger wrote:
Robert Ramey wrote:
I think that very useful in this effort would be lightweight threadsafe singleton.
Recently found the same. Do you want a Singleton with thread-safe initialization? Or one with automatically thread-safe access to its members?
<...>
Someone please tell me its here but that I just haven't found it.
The archive at
contains both of the variants mentioned above.
Regards, Tobias
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost