Searched refs:pfd (Results 1 – 4 of 4) sorted by relevance
/openssl/doc/designs/ddd/ |
H A D | ddd-02-conn-nonblocking.c | 365 struct pollfd pfd = {0}; in main() local 376 pfd.fd = get_conn_fd(conn); in main() 377 pfd.events = get_conn_pending_tx(conn); in main() 379 if (poll(&pfd, 1, timeval_to_ms(&t)) == 0) in main() 381 if (poll(&pfd, 1, timeout) == 0) in main() 409 struct pollfd pfd = {0}; in main() local 420 pfd.fd = get_conn_fd(conn); in main() 421 pfd.events = get_conn_pending_rx(conn); in main() 423 if (poll(&pfd, 1, timeval_to_ms(&t)) == 0) in main() 425 if (poll(&pfd, 1, timeout) == 0) in main()
|
H A D | ddd-02-conn-nonblocking-threads.c | 299 struct pollfd pfd = {0}; in main() local 300 pfd.fd = get_conn_fd(conn); in main() 301 pfd.events = get_conn_pending_tx(conn); in main() 302 if (poll(&pfd, 1, timeout) == 0) { in main() 317 struct pollfd pfd = {0}; in main() local 318 pfd.fd = get_conn_fd(conn); in main() 319 pfd.events = get_conn_pending_rx(conn); in main() 320 if (poll(&pfd, 1, timeout) == 0) { in main()
|
H A D | ddd-04-fd-nonblocking.c | 380 struct pollfd pfd = {0}; in main() local 391 pfd.fd = get_conn_fd(conn); in main() 392 pfd.events = get_conn_pending_tx(conn); in main() 394 if (poll(&pfd, 1, timeval_to_ms(&t)) == 0) in main() 396 if (poll(&pfd, 1, timeout) == 0) in main() 424 struct pollfd pfd = {0}; in main() local 435 pfd.fd = get_conn_fd(conn); in main() 436 pfd.events = get_conn_pending_rx(conn); in main() 438 if (poll(&pfd, 1, timeval_to_ms(&t)) == 0) in main() 440 if (poll(&pfd, 1, timeout) == 0) in main()
|
H A D | ddd-05-mem-nonblocking.c | 302 struct pollfd pfd = {0}; local 304 pfd.fd = fd; 305 pfd.events = (events & (POLLIN | POLLERR)); 307 pfd.events &= ~POLLIN; 309 pfd.events |= POLLOUT; 311 if ((pfd.events & (POLLIN|POLLOUT)) == 0) 314 if (poll(&pfd, 1, timeout) == 0) 317 if (pfd.revents & POLLIN) { 339 if (pfd.revents & POLLOUT) {
|
Completed in 9 milliseconds