using timers to force an execution time

superpollo user at example.net
Thu Jul 16 13:09:24 CEST 2009


Diez B. Roggisch wrote:
> superpollo wrote:
>>am i wrong?
> 
> 
> No, you are right, for threads that is. You can try & trick around with the
> trace-functionality of python, and some ctypes-based
> system-thread-module-tricks that are, as mentioned before, black-magic & a
> spinning gatling gun pointed to your very own lower extremities.
> 

OUCH.

> The only reliable way of terminating an asynchronous computation is to use
> processes, since python2.6 that's rather convenient with the
> multiprocessing-module. However, that imposes some limits to what you can
> do.

fair enough.

very helpful indeed.

bye



More information about the Python-list mailing list