|
Boost : |
From: Andrey Semashev (andysem_at_[hidden])
Date: 2007-09-02 15:43:36
Hello Anthony,
Tuesday, August 28, 2007, 12:17:45 PM, you wrote:
> "Peter Dimov" <pdimov_at_[hidden]> 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.
Would you be interested to take a look at my implementation? Maybe
after some cleaning up it could be moved to your official library?
-- Best regards, Andrey mailto:andysem_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk