MCPcopy
hub / github.com/ricklamers/gpt-code-ui / run

Method run

gpt_code_ui/kernel_program/kernel_manager.py:33–42  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

31 self.kc = kc
32
33 def run(self):
34 logger.info("Running message flusher...")
35 while True:
36
37 if self.kill_sema.acquire(blocking=False):
38 logger.info("Sema was released to kill thread")
39 sys.exit()
40
41 flush_kernel_msgs(self.kc)
42 time.sleep(1)
43
44
45def cleanup_spawned_processes():

Callers 5

run_webappFunction · 0.80
run_kernel_programFunction · 0.80
run_flask_appFunction · 0.80
main.pyFile · 0.80
main.pyFile · 0.80

Calls 1

flush_kernel_msgsFunction · 0.85

Tested by

no test coverage detected