Lines Matching +full:parallel +full:- +full:in
7 # Redistribution and use in source and binary forms, with or without
12 # 2. Redistributions in binary form must reproduce the above copyright
13 # notice, this list of conditions and the following disclaimer in the
19 # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
23 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
44 mycc -o select -Wall -Wextra -O0 -g select.c -lpthread || exit 1
45 rm -f select.c
51 rm -f /tmp/select
76 #define PARALLEL 16 /* Fails seen with 1 - 16 */
108 } while (r == -1 && errno == EINTR);
109 if (r == -1)
134 int e, i, j, pids[PARALLEL], r, status;
136 lines = LINES / PARALLEL;
145 if ((r = pthread_barrier_init(&barr, &attr, PARALLEL)) != 0)
149 while ((time(NULL) - start) < RUNTIME && e == 0) {
150 for (i = 0; i < PARALLEL; i++) {
154 for (i = 0; i < PARALLEL; i++) {
158 for (j = i + 1; j < PARALLEL; j++)