Anthony Williams | 21 May 23:03

Re: [thread] test_lock* and test_move* failures on trunk

"Peter Dimov" <pdimov <at> pdimov.com> 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

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


Gmane