Now calling pthread_cond_broadcast() in the desctructor of cCondWait and cCondVar; using pthread_cond_broadcast() instead of pthread_cond_signal() in cCondWait

This commit is contained in:
Klaus Schmidinger
2004-10-31 09:54:50 +01:00
parent 3e3f30d88d
commit 4f67ade2dc
2 changed files with 8 additions and 2 deletions

View File

@@ -3089,3 +3089,7 @@ Video Disk Recorder Revision History
- Immediately displaying the new channel info when switching channel groups.
- Moved the main program loop variables further up to allow compilation with
older compiler versions (thanks to Marco Schl<68><6C>ler for reporting this one).
- Now calling pthread_cond_broadcast() in the desctructor of cCondWait and
cCondVar to make sure any sleepers will wake up (suggested by Werner Fink).
Also using pthread_cond_broadcast() instead of pthread_cond_signal() in
cCondWait, in case there is more than one sleeper.