diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-03-18 04:58:20 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-03-18 04:58:20 +0000 |
commit | 1af7e2cbb252754be777399f604624f299ed343c (patch) | |
tree | 5f0490300dd4d6988164c52382f7805686fc3ff6 | |
parent | 580674d6bca1ad72d351cbe81af9e4f43af46a53 (diff) |
*** empty log message ***
svn path=/trunk/; revision=2633
-rw-r--r-- | externals/grill/py/source/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/externals/grill/py/source/main.cpp b/externals/grill/py/source/main.cpp index 252d3408..3b0aa869 100644 --- a/externals/grill/py/source/main.cpp +++ b/externals/grill/py/source/main.cpp @@ -522,10 +522,11 @@ bool pybase::qucall(PyObject *fun,PyObject *args) void pybase::threadworker() { + ++thrcount; + FifoEl *el; PyThreadState *my = FindThreadState(),*state; - ++thrcount; for(;;) { while(el = qufifo.Get()) { ++thrcount; @@ -551,6 +552,7 @@ void pybase::threadworker() qufifo.Free(el); } PyUnlock(state); + --thrcount; } #endif |