MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / remember_python_bridge_failure

Function remember_python_bridge_failure

src/python/runner.cpp:362–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360 }
361
362 void remember_python_bridge_failure(const std::string& detail) {
363 bool expected = false;
364 if (g_python_bridge_failed.compare_exchange_strong(expected, true, std::memory_order_acq_rel)) {
365 std::lock_guard lock(g_python_bridge_failure_mutex);
366 g_python_bridge_failure_detail = detail;
367 }
368 }
369
370 std::string python_bridge_failure_detail() {
371 std::lock_guard lock(g_python_bridge_failure_mutex);

Callers 1

import_lichtfeld_moduleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected