git.haldean.org ubik / 4040bd5
disable parq test on single-threaded builds Haldean Brown 4 years ago
1 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1717 */
1818
1919 #include "ubik/jobq.h"
20 #include "ubik/mt.h"
2021 #include "ubik/ubik.h"
2122 #include "ubik/util.h"
2223 #include "unit.h"
8586 void *ret;
8687 struct thread_info *ti;
8788
89 #ifdef UBIK_DISABLE_MT
90 printf("warning: parq test disabled for single-threaded build\n");
91 return ok;
92 #endif
93
8894 ubik_jobq_init(&q, N_THREADS);
8995
9096 for (thread = 0; thread < N_THREADS; thread++)