Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | audio_format: convert to C++ | Max Kellermann | 2013-08-03 | 1 | -3/+3 |
| | |||||
* | song: convert header to C++ | Max Kellermann | 2013-07-28 | 1 | -4/+5 |
| | |||||
* | PlayerControl: add second Cond object | Max Kellermann | 2013-01-25 | 1 | -0/+32 |
| | | | | | | | | | | | | | This fixes a deadlock bug introduced by 18076ac9. After all, the second Cond was necessary. The problem: two threads can wait for a signal at the same time. The player thread waits for the output thread to finish playback. The main thread waits for the player thread to complete a command. The output thread finishes playback, and sends a signal, which unfortunately does not wake up the player thread, but the main thread. The main thread sees that the command is still not finished, and waits again. The signal is lost forever, and MPD is deadlocked. | ||||
* | PlayerControl: move functions into the class | Max Kellermann | 2013-01-20 | 1 | -167/+121 |
| | |||||
* | PlayerControl: switch to the Mutex/Cond classes | Max Kellermann | 2013-01-10 | 1 | -6/+8 |
| | |||||
* | PlayerControl: add constructor and destructor | Max Kellermann | 2013-01-04 | 1 | -6/+4 |
| | |||||
* | player_control.h: convert header to C++ | Max Kellermann | 2013-01-04 | 1 | -0/+339 |