(original) (raw)

i mailed this to several people separately, but then i thought it could benefit
the entire group:

http://sebulba.wikispaces.com/recipe+thread2

it's an implementation of the proposed "
thread.raise_exc", through an extension
to the threading.Thread class. you can test it for yourself; if it proves useful,
it should be exposed as thread.raise_exc in the stdlib (instead of the ctypes
hack)... and of course it should be reflected in
threading.Thread as welll.



-tomer