9 Apr
2010
9 Apr
'10
12:44 p.m.
If I remove the template and add a type the assert will not appear.
I am confused ...
So am I. What does pthread_mutex_unlock return when failing? According to POSIX it should be one of these: The pthread_mutex_lock(), pthread_mutex_trylock(), and pthread_mutex_unlock() functions may fail if: [EINVAL] The value specified by mutex does not refer to an initialized mutex object. [EAGAIN] [XSI] [Option Start] The mutex could not be acquired because the maximum number of recursive locks for mutex has been exceeded. [Option End] The pthread_mutex_unlock() function may fail if: [EPERM] The current thread does not own the mutex. These functions shall not return an error code of [EINTR] Best, Ion