Update of /cvsroot/pure-data/externals/grill/flext/source
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4042/source
Modified Files:
flqueue.cpp
Log Message:
""
Index: flqueue.cpp
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/source/flqueue.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** flqueue.cpp 11 Sep 2004 04:00:41 -0000 1.17
--- flqueue.cpp 12 Sep 2004 04:02:06 -0000 1.18
***************
*** 35,39 ****
void Set(flext_base *t,int o,const t_symbol *s,int ac,const t_atom *av) { th = t,out = o,sym = s,argc = ac,argv = av; }
! // \note PD lock must already be held by caller
void Send() const
{
--- 35,39 ----
void Set(flext_base *t,int o,const t_symbol *s,int ac,const t_atom *av) { th = t,out = o,sym = s,argc = ac,argv = av; }
! // \note PD sys lock must already be held by caller
void Send() const
{
***************
*** 166,172 ****
}
! int qhead,qtail;
qmsg lst[QUEUE_LENGTH];
! int ahead,atail;
t_atom atoms[QUEUE_ATOMS];
};
--- 166,172 ----
}
! volatile int qhead,qtail;
qmsg lst[QUEUE_LENGTH];
! volatile int ahead,atail;
t_atom atoms[QUEUE_ATOMS];
};
***************
*** 245,250 ****
#if FLEXT_SYS == FLEXT_SYS_PD
#ifdef FLEXT_QTHR
! // wake up a worker thread
! // (instead of triggering the clock)
qthrcond.Signal();
#else
--- 245,249 ----
#if FLEXT_SYS == FLEXT_SYS_PD
#ifdef FLEXT_QTHR
! // wake up worker thread
qthrcond.Signal();
#else