Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 161 Bytes
import time
import threading
class Error(Exception):
pass
def foo():
time.sleep(1)
raise Error
threading.Thread(target=foo).start()
print "DONE"