By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,345 Members | 1,790 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,345 IT Pros & Developers. It's quick & easy.

Re: need to suspend/resume a child thread

P: n/a
On 2008-11-13 02:57, scsoce wrote:
A child thread has a long-time executions, how to suspend it and resume
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.
I'm not sure I understand... the OS will take care of all this
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
Nov 13 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.