fork download
  1. import Queue
  2. import threading
  3.  
  4. def queue_test():
  5. Queue.Queue().get(block=True)
  6.  
  7. t = threading.Thread(target=queue_test)
  8. t.daemon = True
  9. t.start()
  10. exit()
Success #stdin #stdout 0.1s 19216KB
stdin
Standard input is empty
stdout
Standard output is empty