Searched refs:pipefds (Results 1 – 2 of 2) sorted by relevance
/openssl/engines/ |
H A D | e_dasync.c | 523 OSSL_ASYNC_FD pipefds[2] = {0, 0}; in dummy_pause_job() local 549 if (ASYNC_WAIT_CTX_get_fd(waitctx, engine_dasync_id, &pipefds[0], in dummy_pause_job() 551 pipefds[1] = *writefd; in dummy_pause_job() 557 if (CreatePipe(&pipefds[0], &pipefds[1], NULL, 256) == 0) { in dummy_pause_job() 562 if (pipe(pipefds) != 0) { in dummy_pause_job() 567 *writefd = pipefds[1]; in dummy_pause_job() 571 wait_cleanup(waitctx, engine_dasync_id, pipefds[0], writefd); in dummy_pause_job() 581 WriteFile(pipefds[1], &buf, 1, &numwritten, NULL); in dummy_pause_job() 583 if (write(pipefds[1], &buf, 1) < 0) in dummy_pause_job() 592 ReadFile(pipefds[0], &buf, 1, &numread, NULL); in dummy_pause_job() [all …]
|
/openssl/doc/man3/ |
H A D | ASYNC_start_job.pod | 228 int pipefds[2] = {0, 0}; 250 if (pipe(pipefds) != 0) { 259 *wptr = pipefds[1]; 261 pipefds[0], wptr, cleanup); 271 write(pipefds[1], &buf, 1); 275 * method. The main thread will wait until pipefds[0] is ready 281 read(pipefds[0], &buf, 1);
|
Completed in 9 milliseconds