def connect_to_user_console(sig, frame): diesel.fork_from_thread(application_console_endpoint)
def create(): while True: line = sys.stdin.readline() print 'iter!', line fork_from_thread(put, line)
def consume_stream(stream, q): while True: line = stream.readline() fork_from_thread(put_stream_token, q, line) if line == "": break