Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Find here the error that matches your description
https://linux.die.net/man/3/pthread_mutex_lock
I did not find something.
The only more or less suitable option - EAGAIN - is returned in the case of a recursive mutex when the maximum number of locks is exceeded.
In general, implementations of mutexes can be different, and if it is not a POSIX compliant implementation, then such an error is likely to occur. In this case, see the documentation for your system.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question