[xiph-cvs] cvs commit: snatch libsnatch.c

Monty xiphmont at xiph.org
Tue Nov 13 21:11:27 PST 2001



xiphmont    01/11/13 21:11:27

  Modified:    .        libsnatch.c
  Log:
  Oops, there was a stupid deadlock in 'retry open' on 'file too large' error.

Revision  Changes    Path
1.30      +1 -1      snatch/libsnatch.c

Index: libsnatch.c
===================================================================
RCS file: /usr/local/cvsroot/snatch/libsnatch.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- libsnatch.c	2001/11/14 04:12:52	1.29
+++ libsnatch.c	2001/11/14 05:11:26	1.30
@@ -27,7 +27,7 @@
 #include <X11/Xlib.h>
 #include <X11/extensions/XShm.h>
 
-static pthread_mutex_t output_mutex=PTHREAD_MUTEX_INITIALIZER;
+static pthread_mutex_t output_mutex=PTHREAD_RECURSIVE_MUTEX_INITIALIZER;
 static pthread_cond_t event_cond=PTHREAD_COND_INITIALIZER;
 static pthread_mutex_t event_mutex=PTHREAD_MUTEX_INITIALIZER;
 static pthread_cond_t display_cond=PTHREAD_COND_INITIALIZER;

--- >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