PlayerControl: switch to the Mutex/Cond classes

This commit is contained in:
Max Kellermann
2013-01-10 09:30:01 +01:00
parent 0b93445380
commit 06e0741a52
3 changed files with 10 additions and 13 deletions

View File

@@ -147,7 +147,7 @@ player_command_finished_locked(struct player_control *pc)
assert(pc->command != PLAYER_COMMAND_NONE);
pc->command = PLAYER_COMMAND_NONE;
g_cond_signal(pc->cond);
pc->cond.signal();
}
static void