diff --git a/script/test/test_abort.py b/script/test/test_abort.py index 0de03c7..c33d532 100644 --- a/script/test/test_abort.py +++ b/script/test/test_abort.py @@ -20,16 +20,16 @@ import signal -def on_abort(parent_thread): - print ("on_abort") - tid=parent_thread.ident - exception = KeyboardInterrupt - ctypes.pythonapi.PyThreadState_SetAsyncExc(ctypes.c_long(tid), ctypes.py_object(exception)) +#def on_abort(parent_thread): +# print ("on_abort") +# tid=parent_thread.ident +# exception = KeyboardInterrupt +# ctypes.pythonapi.PyThreadState_SetAsyncExc(ctypes.c_long(tid), ctypes.py_object(exception)) -def on_close(parent_thread): - print ("on_close") - on_abort(parent_thread) +#def on_close(parent_thread): +# print ("on_close") +# on_abort(parent_thread) #def handler(signum, frame): # print('Signal handler called with signal', signum)