Ñò
ô†³Kc @ sq d Z d d k Z y d d k Z Wn e j
o e d ƒ ‚ n Xe e d ƒ p e d ƒ ‚ n d „ Z d S( sB
Kill a thread, from http://sebulba.wikispaces.com/recipe+thread2
iÿÿÿÿNs= You cannot use paste.util.killthread without ctypes installedt pythonapis= You cannot use paste.util.killthread without ctypes.pythonapic C s¸ t | t i t f ƒ p t d ƒ ‚ n t | t ƒ p t d ƒ ‚ n t i i | t i | ƒ ƒ } | d j o t
d ƒ ‚ n1 | d j o# t i i | d ƒ t d ƒ ‚ n d S( s˜ raises the exception, performs cleanup if needed.
tid is the value given by thread.get_ident() (an integer).
Raise SystemExit to kill a thread.s( Only types can be raised (not instances)s tid must be an integeri s invalid thread idi s PyThreadState_SetAsyncExc failedN( t
isinstancet typest ClassTypet typet TypeErrort intt ctypesR t PyThreadState_SetAsyncExct py_objectt
ValueErrort SystemError( t tidt exctypet res( ( s9 /usr/lib/python2.6/site-packages/paste/util/killthread.pyt async_raise s
( t __doc__R R t ImportErrort hasattrR ( ( ( s9 /usr/lib/python2.6/site-packages/paste/util/killthread.pyt