MCPcopy Index your code
hub / github.com/RustPython/RustPython / wait_for_handle

Function wait_for_handle

Lib/test/_test_multiprocessing.py:144–147  ·  view source on GitHub ↗
(handle, timeout)

Source from the content-addressed store, hash-verified

142WIN32 = (sys.platform == "win32")
143
144def wait_for_handle(handle, timeout):
145 if timeout is not None and timeout < 0.0:
146 timeout = None
147 return wait([handle], timeout)
148
149try:
150 MAXFD = os.sysconf("SC_OPEN_MAX")

Callers 1

test_sentinelMethod · 0.85

Calls 1

waitFunction · 0.90

Tested by

no test coverage detected