disable parq test on single-threaded builds
Haldean Brown
4 years ago
17 | 17 | */ |
18 | 18 | |
19 | 19 | #include "ubik/jobq.h" |
20 | #include "ubik/mt.h" | |
20 | 21 | #include "ubik/ubik.h" |
21 | 22 | #include "ubik/util.h" |
22 | 23 | #include "unit.h" |
85 | 86 | void *ret; |
86 | 87 | struct thread_info *ti; |
87 | 88 | |
89 | #ifdef UBIK_DISABLE_MT | |
90 | printf("warning: parq test disabled for single-threaded build\n"); | |
91 | return ok; | |
92 | #endif | |
93 | ||
88 | 94 | ubik_jobq_init(&q, N_THREADS); |
89 | 95 | |
90 | 96 | for (thread = 0; thread < N_THREADS; thread++) |