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