Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | notify: protect notify->pending with the mutex | Max Kellermann | 2008-09-26 | 1 | -2/+0 |
| | | | | | | | | | | There was a known deadlocking bug in the notify library: when the other thread set notify->pending after the according check in notify_wait(), the latter thread was deadlocked. Resolve this by synchronizing all accesses to notify->pending with the notify object's mutex. Since notify_signal_sync() was never used, we can remove it. As a consequence, we don't need notify_enter() and notify_leave() anymore; eliminate them, too. | ||||
* | renamed player.c to player_control.c | Max Kellermann | 2008-08-26 | 1 | -1/+1 |
| | | | | | Give player.c a better name, meaning that the code is used to control the player thread. | ||||
* | renamed decoderInit() to decoder_thread_start() | Max Kellermann | 2008-08-26 | 1 | -1/+1 |
| | |||||
* | renamed decode.h to decoder_control.h | Max Kellermann | 2008-08-26 | 1 | -1/+1 |
| | |||||
* | renamed decode.c to decoder_thread.c | Max Kellermann | 2008-08-26 | 1 | -0/+199 |
It should be obvious in which thread or context a function is being executed at runtime. The code which was left in decode.c is for the decoder thread itself; give the file a better name. |