MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / decode_thread

Method decode_thread

lightx2v/disagg/conn.py:485–493  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

483 room_socket = self.get_or_create_room_socket(room, receiver_rank_port)
484
485 def decode_thread():
486 while not stop_event.is_set():
487 try:
488 (bootstrap_room, status) = room_socket.recv_multipart()
489 except zmq.Again:
490 continue
491 status = int(status.decode("ascii"))
492 bootstrap_room = int(bootstrap_room.decode("ascii"))
493 self.request_status[bootstrap_room] = status
494
495 decode_worker = threading.Thread(target=decode_thread)
496 decode_worker.start()

Callers

nothing calls this directly

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected