Lines Matching defs:pipeThreads
157 HANDLE hProcess, h, pipeThreads[2];
250 pipeThreads[0] = CreateThread(NULL, 0, ReadFromPipe, &Out, 0, &threadID);
251 pipeThreads[1] = CreateThread(NULL, 0, ReadFromPipe, &Err, 0, &threadID);
264 WaitForMultipleObjects(2, pipeThreads, TRUE, 500);
265 CloseHandle(pipeThreads[0]);
266 CloseHandle(pipeThreads[1]);
290 HANDLE hProcess, h, pipeThreads[2];
377 pipeThreads[0] = CreateThread(NULL, 0, ReadFromPipe, &Out, 0, &threadID);
378 pipeThreads[1] = CreateThread(NULL, 0, ReadFromPipe, &Err, 0, &threadID);
391 WaitForMultipleObjects(2, pipeThreads, TRUE, 500);
392 CloseHandle(pipeThreads[0]);
393 CloseHandle(pipeThreads[1]);