Skip to content

Fix mutex lock placement in input handling loop#9

Open
jp-bennett wants to merge 2 commits intomainfrom
dont-deadlock
Open

Fix mutex lock placement in input handling loop#9
jp-bennett wants to merge 2 commits intomainfrom
dont-deadlock

Conversation

@jp-bennett
Copy link
Collaborator

Turns out this can cause mutex deadlocks.

Turns out this can cause mutex deadlocks.
@jp-bennett
Copy link
Collaborator Author

This technically fixes the bug, but I'm planning to add an in_error bool so the calling program can know it probably needs to re-init the device.

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

Successfully merging this pull request may close these issues.

1 participant