Lines Matching refs:pipeThreads
208 HANDLE hProcess, h, pipeThreads[2];
301 pipeThreads[0] = CreateThread(NULL, 0, ReadFromPipe, &Out, 0, &threadID);
302 pipeThreads[1] = CreateThread(NULL, 0, ReadFromPipe, &Err, 0, &threadID);
315 WaitForMultipleObjects(2, pipeThreads, TRUE, 500);
316 CloseHandle(pipeThreads[0]);
317 CloseHandle(pipeThreads[1]);
343 HANDLE hProcess, h, pipeThreads[2];
430 pipeThreads[0] = CreateThread(NULL, 0, ReadFromPipe, &Out, 0, &threadID);
431 pipeThreads[1] = CreateThread(NULL, 0, ReadFromPipe, &Err, 0, &threadID);
444 WaitForMultipleObjects(2, pipeThreads, TRUE, 500);
445 CloseHandle(pipeThreads[0]);
446 CloseHandle(pipeThreads[1]);