Boost logo

Boost Users :

Subject: Re: [Boost-users] [thread] assertion error in timed_lock
From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2009-01-14 16:00:44


On 14/01/2009, Ernst Murnleitner <mur_at_[hidden]> wrote:
> Dear Anthony,
>
> > > pthread_mutex_timedlock returned ETIMEDOUT.
> >
> > This bug has already been fixed.
> >
>
> Of cource, bugs happen.
>
> I used boost 1.36.0. Is the fix in 1.37.0?

Alas, no. I didn't merge it in time. Boost 1.38 will be out in a few
weeks, which WILL have the fix in. For now, just patch your copy to
use ETIMEDOUT instead of EBUSY.

Anthony

-- 
Anthony Williams
Author of C++ Concurrency in Action | http://www.manning.com/williams
Custom Software Development | http://www.justsoftwaresolutions.co.uk
Just Software Solutions Ltd, Registered in England, Company Number 5478976.
Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net