mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 07:35:57 -05:00
Modify player commands to use per-command lock & condition
This makes the player commands usable in a concurrent multithread setup, which was not the case with the global command+lock+condition due to the time it could take the player thread to act upon the command event. This left a wide open window for race conditions with other threads locking cmd_lck before the player thread had a go at it.
This commit is contained in:
parent
942f3e4aad
commit
7f79ca5709
455
src/player.c
455
src/player.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user