-
Notifications
You must be signed in to change notification settings - Fork 70
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
Possible deadlock issues #224
Comments
Here is another one similar to the above. Lines 230 to 255 in 1b31ca9
|
Could anyone take a look? thanks |
This is expected... see the manpage for These functions atomically release mutex and cause the calling thread to block on the condition variable cond; atomically here means "atomically with respect to access by another thread to the mutex and then the condition variable". |
Hi, it seems that lock
device->sync_mutex
is missed to be released after 248. In the while loop, the lock could be acquired twice and a deadlock occurs.cen64/device/device.c
Lines 230 to 256 in 1b31ca9
The text was updated successfully, but these errors were encountered: