Home
last modified time | relevance | path

Searched refs:pipes (Results 1 – 7 of 7) sorted by relevance

/libevent-2.1.12/test/
H A Dbench_cascade.c63 static evutil_socket_t *pipes; variable
88 pipes = (evutil_socket_t *)calloc(num_pipes * 2, sizeof(evutil_socket_t)); in run_once()
90 if (events == NULL || pipes == NULL) { in run_once()
95 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { in run_once()
109 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { in run_once()
119 if (send(pipes[1], "e", 1, 0) < 0) in run_once()
127 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { in run_once()
133 free(pipes); in run_once()
H A Dbench.c70 static evutil_socket_t *pipes; variable
91 n = send(pipes[2 * widx + 1], "e", 1, 0); in read_cb()
106 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { in run_once()
119 (void) send(pipes[i * space + 1], "e", 1, 0); in run_once()
198 pipes = calloc(num_pipes * 2, sizeof(evutil_socket_t));
199 if (events == NULL || pipes == NULL) {
215 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) {
/libevent-2.1.12/
H A DCMakeLists.txt150 …"When crosscompiling forces running a test program that verifies that Kqueue works with pipes. Not…
660 # Verify kqueue works with pipes.
663 …message(WARNING "Cannot check if kqueue works with pipes when crosscompiling, use EVENT__FORCE_KQU…
666 message(STATUS "Checking if kqueue works with pipes...")
H A DREADME.md69 # works with pipes. Note that this requires you to manually run the test program
H A Devent-config.h.cmake443 /* Define if kqueue works correctly with pipes */
H A Dconfigure.ac601 [Define if kqueue works correctly with pipes])
H A DChangeLog933 o Added a test for testing if kqueue works with pipes. (2799b35
1917 o Use pipes for telling signals to main thread when possible (a35f396)