On Thu, Aug 28, 2008 at 1:25 PM, Dominique Dhumieres <[EMAIL PROTECTED]> wrote: : > /opt/gcc/i686-darwin/i686-apple-darwin9/libstdc++-v3/include/i686-apple-darwin9/bits/gthr-default.h:776: > error: 'pthread_mutex_timedlock' was not declared in this scope
More to the point, it looks like pthread_mutex_timedlock was only added to issue 6 of POSIX which was just released in 2004. This function is too new for most pthreads implementation. See http://www.opengroup.org/onlinepubs/009695399/functions/pthread_mutex_timedlock.html for more information on this new function. -- Pinski