[xiph-cvs] cvs commit: vorbis-tools/ogg123 buffer.c

Stan Seibert volsung at xiph.org
Mon Sep 1 13:15:20 PDT 2003



volsung     03/09/01 16:15:19

  Modified:    ogg123   buffer.c
  Log:
  Make sure no one is waiting on these condition vars when exit occurs.
  Closes bug 373.

Revision  Changes    Path
1.22      +3 -1      vorbis-tools/ogg123/buffer.c

Index: buffer.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/buffer.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- buffer.c	24 Jun 2003 11:39:37 -0000	1.21
+++ buffer.c	1 Sep 2003 20:15:19 -0000	1.22
@@ -11,7 +11,7 @@
  *                                                                  *
  ********************************************************************
 
- last mod: $Id: buffer.c,v 1.21 2003/06/24 11:39:37 giles Exp $
+ last mod: $Id: buffer.c,v 1.22 2003/09/01 20:15:19 volsung Exp $
 
  ********************************************************************/
 
@@ -437,7 +437,9 @@
 
   /* Cleanup pthread variables */
   pthread_mutex_destroy(&buf->mutex);
+  COND_SIGNAL(buf->write_cond);
   pthread_cond_destroy(&buf->write_cond);
+  COND_SIGNAL(buf->playback_cond);
   pthread_cond_destroy(&buf->playback_cond);
   
   free(buf);

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list