| D | It_ipc_fdset_001.cpp | 42 fd_set reads; in Testcase() local 43 FD_ZERO(&reads); in Testcase() 57 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase() 60 FD_SET(pipeFd[0][0], &reads); in Testcase() 61 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase() 63 ret = FD_ISSET(pipeFd[0][0], &reads); in Testcase() 66 FD_SET(pipeFd[1][0], &reads); in Testcase() 67 FD_SET(pipeFd[2][0], &reads); // 2, pipe return on the 2nd loop in Testcase() 68 FD_SET(pipeFd[3][0], &reads); // 3, pipe return on the 3rd loop in Testcase() 69 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase() [all …]
|