Pause a thread/ execfile()

Terry Reedy tjreedy at udel.edu
Mon Oct 26 17:21:31 CET 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