MCPcopy Create free account
hub / github.com/apple/coremltools / sleep

Method sleep

deps/pybind11/tests/test_iostream.cpp:66–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 void sleep() {
67 py::gil_scoped_release gil_lock;
68 std::this_thread::sleep_for(std::chrono::milliseconds(50));
69 }
70
71 std::thread *t_{nullptr};
72 std::atomic<bool> stop_;

Callers 4

retryWithBackoffMethod · 0.80
report_progressMethod · 0.80
call_methodMethod · 0.80
test_threadingFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected