python:实现thread signal线程信号
from __future__ import print_function
import signal
import threading
from time import sleep
class producer(threading.Thread):
def __init__(self, ev
from __future__ import print_function
import signal
import threading
from time import sleep
class producer(threading.Thread):
def __init__(self, ev