
"Ernst Murnleitner"
Sometimes - especially if I start the program with valgrind - my program exits with
/usr/include/boost/thread/pthread/recursive_mutex.hpp:180: bool boost::recursive_timed_mutex::timed_lock(const boost::system_time&): Assertion `!res || res==16' failed.
The line 180 is in this function:
bool timed_lock(system_time const & abs_time) { struct timespec const timeout=detail::get_timespec(abs_time); int const res=pthread_mutex_timedlock(&m,&timeout); BOOST_ASSERT(!res || res==EBUSY); return !res; }
pthread_mutex_timedlock returned ETIMEDOUT.
This bug has already been fixed. 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