Skip to content
New issue

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

Can a thread unlock a mutex locked by another thread? #2

Open
AntiMoron opened this issue Nov 28, 2014 · 1 comment
Open

Can a thread unlock a mutex locked by another thread? #2

AntiMoron opened this issue Nov 28, 2014 · 1 comment

Comments

@AntiMoron
Copy link

Absolutely not.

Its undefined behavior.

http://stackoverflow.com/questions/4608843/locking-mutex-in-one-thread-and-unlocking-it-in-the-other/4608912#4608912

@celliott181
Copy link
Contributor

Nope, I left a pull request with the most basic fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants