Boost logo

Boost :

From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2008-05-21 17:03:21


"Peter Dimov" <pdimov_at_[hidden]> writes:

> Anthony Williams:
>
>> Shall I hold off committing a fix to boost::thread for now, then?
>
> I've taken the liberty of fixing it to use type<void>(), extending it to 9
> arguments and adding a member function test. Please take a look at revision
> 45621; I hope I didn't do anything wrong. We'll probably want to add a
> normal function test along the same lines, and possibly use variadic
> templates when available.

Thank you. Much appreciated.

> As a note, it seems that the two thread classes (win32, pthread) need to be
> refactored in some way since now they can desync. For example, the win32
> thread uses rvalue references, and the pthread one does not.

Yes. I think that the implementations are more similar than they are
different. The rvalue reference stuff is a work in progress.

Anthony

-- 
Anthony Williams            | Just Software Solutions Ltd
Custom Software Development | 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