Thread blocking problem
Aahz
aahz at pythoncraft.com
Sun Mar 31 12:21:24 EST 2002
In article <uaegdmkatlbf18 at corp.supernews.com>,
Garyr <garyr at fidalgo.net> wrote:
>
>I have a program consisting primarily of a simple Tinker GUI and in separate
>thread some code that invokes a function in a C++ extension module that
>blocks on WaitForSingleObject most of the time. The Python code is a
>producer and the C++ code the consumer, a sound card driver.
>
>Shouldn't the GUI be responsive when the code in the thread is blocked?
Not unless you've released the Global Interpreter Lock. See
http://www.python.org/doc/current/api/threads.html
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Why is this newsgroup different from all other newsgroups?
More information about the Python-list
mailing list