
"Peter Dimov" <pdimov@pdimov.com> writes:
Hasn't Anthony Williams already implemented a header-only call_once? I'm not sure I see a reason to reinvent that particular wheel. Once boost::mutex is made header-only, there'd be no need for lightweight_mutex either and I'll be able to retire it as well.
I have implemented a header-only call_once for Windows --- on the thread_rewrite branch in SVN. I plan to get to pthreads sometime in the near future. The win32 implementation of mutex is also header-only, and I plan to add a header-only pthreads implementation too. Anthony -- Anthony Williams Just Software Solutions Ltd - http://www.justsoftwaresolutions.co.uk Registered in England, Company Number 5478976. Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL