We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If pthread_mutex_lock returns a non-zero value, System exception is raised.
inline void MutexImpl::lockImpl() { if (pthread_mutex_lock(&_mutex)) throw SystemException("cannot lock mutex"); }
Can this exception contain the error code as well? Or if there's some other method which should be used to get the error value?
The text was updated successfully, but these errors were encountered:
enh(Mutex): Error code for pthread_mutex_lock failure #4712
9c31aa6
chore(JSON): add stringify unicode tests #4707 (#4720)
71a085c
* chore(JSON): add stringify unicode tests #4707 * enh(Mutex): Error code for pthread_mutex_lock failure #4712
aleks-f
No branches or pull requests
If pthread_mutex_lock returns a non-zero value, System exception is raised.
inline void MutexImpl::lockImpl() { if (pthread_mutex_lock(&_mutex)) throw SystemException("cannot lock mutex"); }
Can this exception contain the error code as well? Or if there's some other method which should be used to get the error value?
The text was updated successfully, but these errors were encountered: