Lines Matching refs:nhandles
1806 Py_ssize_t nhandles, i;
1814 nhandles = PySequence_Length(handle_seq);
1815 if (nhandles == -1)
1817 if (nhandles < 0 || nhandles > MAXIMUM_WAIT_OBJECTS - 1) {
1820 MAXIMUM_WAIT_OBJECTS - 1, nhandles);
1823 for (i = 0; i < nhandles; i++) {
1840 handles[nhandles++] = sigint_event;
1846 result = WaitForMultipleObjects((DWORD) nhandles, handles,
1852 else if (sigint_event != NULL && result == WAIT_OBJECT_0 + nhandles - 1) {