|
Boost : |
From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2007-03-20 11:24:08
Howard Hinnant <hinnant_at_[hidden]> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk