Lines Matching refs:TRACE_THREADS
327 TRACE_THREADS = {} variable
352 if self._device_id in TRACE_THREADS:
353 TRACE_THREADS.pop(self._device_id)
432 if device_id in TRACE_THREADS:
443 TRACE_THREADS[device_id] = TraceThread(device_id, command.encode('utf-8'))
444 TRACE_THREADS[device_id].start()
450 if device_id not in TRACE_THREADS:
452 if TRACE_THREADS[device_id].is_alive():
453 TRACE_THREADS[device_id].end_trace()
455 success = TRACE_THREADS[device_id].success()
456 out = TRACE_THREADS[device_id].out + b"\n" + TRACE_THREADS[device_id].err
457 command = TRACE_THREADS[device_id].trace_command
458 TRACE_THREADS.pop(device_id)
470 if device_id not in TRACE_THREADS:
472 TRACE_THREADS[device_id].reset_timer()
473 …server.respond(HTTPStatus.OK, str(TRACE_THREADS[device_id].is_alive()).encode("utf-8"), "text/plai…
489 if device_id in TRACE_THREADS: