class myproc(Process):

    def __init__(self, event):
        self.event = event
Process.__init__(self)

def run(self):
    while not self.event.is_set():
        time.sleep(1)
Python multiprocessing with twisted's reactor