Pause a thread/ execfile()

Terry Reedy tjreedy at udel.edu
Mon Oct 26 12:21:31 EDT 2009


Babloo wrote:

> Any ideas how to  pause execfile()?

As far as the calling instance of the Python interpreter is concerned, 
calling execfile (or any C function) is an atomic action. You need to 
rewrite the code in the file executed to have it monitor a semaphore.




More information about the Python-list mailing list