Re: [boost] Boost.Threads, N2178, N2184, et al

Top Page

Reply to this message
Author: Anthony Williams
Date:  
To: boost
Subject: Re: [boost] Boost.Threads, N2178, N2184, et al
Howard Hinnant <hinnant@???> writes:

> On Mar 19, 2007, at 5:29 PM, Sohail Somani wrote:
>
>> I was pretty much hoping for boost threads + cancellation.
>
> Fwiw, this is the approach of N2184:
>
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2184.html


For which I have now uploaded my Windows (MSVC) implementation to my website:

http://www.justsoftwaresolutions.co.uk/threading/index.html

I had to use a library-based workaround for "move" in place of rvalue
references, and I substituted thread::create rather than the templated
constructor, as I prefer that:

jss::thread t=jss::thread::create(f);
jss::thread t2=jss::move(t);

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


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost