Boost logo

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:


> 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.


Author of C++ Concurrency in Action
just::thread C++0x thread library   
Just Software Solutions Ltd
15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976

Threads-Devel list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at