Lines Matching defs:tokenPoolJob
502 static Job tokenPoolJob; /* token wait pseudo-job */
1534 if (fcntl(tokenPoolJob.inPipe, F_SETFD, 0) == -1)
1536 "tokenPoolJob.inPipe");
1537 if (fcntl(tokenPoolJob.outPipe, F_SETFD, 0) == -1)
1539 "tokenPoolJob.outPipe");
2147 watchfd(&tokenPoolJob);
2563 if (write(tokenPoolJob.outPipe, &tok, 1) != 1)
2578 while (tok != '+' && read(tokenPoolJob.inPipe, &tok1, 1) == 1)
2589 tokenPoolJob.inPipe = tokenPoolReader;
2590 tokenPoolJob.outPipe = tokenPoolWriter;
2602 JobCreatePipe(&tokenPoolJob, 15);
2605 tokenPoolJob.inPipe, tokenPoolJob.outPipe);
2614 SetNonblocking(tokenPoolJob.outPipe);
2661 count = read(tokenPoolJob.inPipe, &tok, 1);
2677 while (read(tokenPoolJob.inPipe, &tok1, 1) == 1)