Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6029
Modified Files:
Tag: devel_0_37
d_soundfile.c
Log Message:
thread syncronization won't work with -rt ...
Index: d_soundfile.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/d_soundfile.c,v
retrieving revision 1.1.1.2.2.17
retrieving revision 1.1.1.2.2.18
diff -C2 -d -r1.1.1.2.2.17 -r1.1.1.2.2.18
*** d_soundfile.c 12 Jul 2004 14:15:07 -0000 1.1.1.2.2.17
--- d_soundfile.c 15 Jul 2004 16:45:47 -0000 1.1.1.2.2.18
***************
*** 1004,1010 ****
void soundfiler_thread(void)
{
- /* thread has been started, the main thread can continue */
- pthread_cond_signal(&(soundfiler_queue->cond));
-
while (1)
{
--- 1004,1007 ----
***************
*** 1183,1189 ****
sf_param.sched_priority);
- /* we wait until the helper thread is ready */
- pthread_cond_wait(&soundfiler_queue->cond, &soundfiler_queue->mutex);
-
}
--- 1180,1183 ----