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:
Julien BLACHE 2010-09-13 18:43:11 +02:00
parent 942f3e4aad
commit 7f79ca5709

File diff suppressed because it is too large Load Diff