Lines Matching defs:pipeThreads
117 HANDLE hProcess, h, pipeThreads[2];
183 pipeThreads[0] = CreateThread(NULL, 0, ReadFromPipe, &Out, 0, &threadID);
184 pipeThreads[1] = CreateThread(NULL, 0, ReadFromPipe, &Err, 0, &threadID);
191 WaitForMultipleObjects(2, pipeThreads, TRUE, 500);
192 CloseHandle(pipeThreads[0]);
193 CloseHandle(pipeThreads[1]);
208 HANDLE hProcess, h, pipeThreads[2];
272 pipeThreads[0] = CreateThread(NULL, 0, ReadFromPipe, &Out, 0, &threadID);
273 pipeThreads[1] = CreateThread(NULL, 0, ReadFromPipe, &Err, 0, &threadID);
280 WaitForMultipleObjects(2, pipeThreads, TRUE, 500);
281 CloseHandle(pipeThreads[0]);
282 CloseHandle(pipeThreads[1]);