
Serialization library uses spirit to parse XML. For thread-safety, BOOST_SPIRIT_THREADSAFE should be defined while building serialization library. It will cause linking to thread library anyway. "Robert Ramey" <ramey@rrsd.com> wrote in message news:fabbr2$35q$1@sea.gmane.org...
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
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost