コード例 #1
0
def start_ui_server(data_queues, settings, worker_handle):
    global threads
    main_logger.info("Starting UIServer")
    uiserver = UIServer(data_queues, settings, worker_handle)
    uiserver.daemon = True
    uiserver.start()
    threads.append({'name': 'UIServer', 'thread': uiserver})
    return uiserver
コード例 #2
0
ファイル: service.py プロジェクト: williamkunz/unmanic
def start_ui_server(data_queues, settings, workerHandle):
    main_logger.info("Starting UI Server")
    uiserver = UIServer(data_queues, settings, workerHandle)
    uiserver.daemon = True
    uiserver.start()
    return uiserver