MCPcopy Index your code
hub / github.com/python/cpython / wait_for_handle

Function wait_for_handle

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

Source from the content-addressed store, hash-verified

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

Callers 1

test_sentinelMethod · 0.85

Calls 1

waitFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…