
19 Jan
2012
19 Jan
'12
8:59 a.m.
From: Vicente J. Botet Escriba <vicente.botet@wanadoo.fr>
I just thought if there is a some kind of lightweight mutex that can be used without boost.thread? I can bring something on my own (it is really 20 lines of code) just maybe there is something ready for roll...
If not I'll add dependency on system.
I really thought, that people was looking for a C++11 compliant implementation. I see now that I might be wrong.
As for Boost.Chrono, I could add the dependency to Boost.System conditionally and come back to the preceding exceptions. Let me know if it is worth doing it.
Best, Vicente
I think I'll just switch to boost::detail::lightweight_mutex in all places where I don't really need Boost.Thread Artyom