A child thread has a long-time executions, how to suspend it and resumeI'm not sure I understand... the OS will take care of all this
back the orignial place ? I know it' nature to use singal, but child
thread cannot get signal as Python Manual say. And i dnt like to check
status variable as the long-time executions can not or be dirty to stop
to do check.
for you.
If you want to suspend the execution of a thread you have
to explicitly code for this in the code running in that thread
and use e.g. a semaphore or thread lock.
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Nov 13 2008)
__________________________________________________ ______________________>>Python/Zope Consulting and Support ... http://www.egenix.com/
mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
:::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611