Lines Matching defs:pipeThreads
185 HANDLE hProcess, h, pipeThreads[2];
278 pipeThreads[0] = CreateThread(NULL, 0, ReadFromPipe, &Out, 0, &threadID);
279 pipeThreads[1] = CreateThread(NULL, 0, ReadFromPipe, &Err, 0, &threadID);
292 WaitForMultipleObjects(2, pipeThreads, TRUE, 500);
293 CloseHandle(pipeThreads[0]);
294 CloseHandle(pipeThreads[1]);
318 HANDLE hProcess, h, pipeThreads[2];
405 pipeThreads[0] = CreateThread(NULL, 0, ReadFromPipe, &Out, 0, &threadID);
406 pipeThreads[1] = CreateThread(NULL, 0, ReadFromPipe, &Err, 0, &threadID);
419 WaitForMultipleObjects(2, pipeThreads, TRUE, 500);
420 CloseHandle(pipeThreads[0]);
421 CloseHandle(pipeThreads[1]);