Lines Matching defs:param
1481 WaitForAllParam* const param = (WaitForAllParam*)arg;
1485 wait_on[0] = param->main_event;
1487 memcpy(wait_on + 1, param->handles, param->handles_count * sizeof(HANDLE));
1489 res = WaitForMultipleObjects(param->handles_count + 1, wait_on, FALSE, INFINITE);
1490 if (res > 0 && res < (param->handles_count + 1)) {
1493 InterlockedCompareExchange(param->signaled_index,
1494 res - 1L + param->first_handle_index, -1L);
1498 SetEvent(param->main_event);
1531 /* Calculate number of chunks, and allocate thread param array. */