[PD-cvs] externals/grill/py/source main.cpp,1.31,1.32
Thomas Grill
xovo at users.sourceforge.net
Fri Mar 18 05:58:22 CET 2005
Update of /cvsroot/pure-data/externals/grill/py/source
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1687/source
Modified Files:
main.cpp
Log Message:
Index: main.cpp
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/py/source/main.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** main.cpp 14 Mar 2005 04:58:13 -0000 1.31
--- main.cpp 18 Mar 2005 04:58:20 -0000 1.32
***************
*** 523,530 ****
void pybase::threadworker()
{
FifoEl *el;
PyThreadState *my = FindThreadState(),*state;
- ++thrcount;
for(;;) {
while(el = qufifo.Get()) {
--- 523,531 ----
void pybase::threadworker()
{
+ ++thrcount;
+
FifoEl *el;
PyThreadState *my = FindThreadState(),*state;
for(;;) {
while(el = qufifo.Get()) {
***************
*** 552,555 ****
--- 553,557 ----
}
PyUnlock(state);
+
--thrcount;
}
More information about the Pd-cvs
mailing list