|
Threads-Devel : |
Subject: Re: [Threads-devel] may be a bug in boost.thread on freebsd 8.0
From: Anthony Williams (anthony_at_[hidden])
Date: 2010-07-28 10:47:46
On 28/07/10 15:09, å×ÇÅÎÉÊ ûÕÂÉÎ wrote:
> I have tried using raw pthread and it works fine. Here is a sample code:
[snip]
> But there is no usage of condition variable.
Do pthread condition variables work with fork()?
> I see no reason using it in such simple task like thread joining.
They are used by boost.thread to enable timed_join.
> Should I dive into source code of boost.thread(pthread/thread.cpp) to solve this problem?
If you like.
Anthony
-- Author of C++ Concurrency in Action http://www.stdthread.co.uk/book/ just::thread C++0x thread library http://www.stdthread.co.uk Just Software Solutions Ltd http://www.justsoftwaresolutions.co.uk 15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976