concurrencykit / ck

Concurrency primitives, safe memory reclamation mechanisms and non-blocking (including lock-free) data structures designed to aid in the research, design and implementation of high performance concurrent systems developed in C99+.
http://concurrencykit.org/
Other
2.38k stars 313 forks source link

ck_cohort regression fails if CORES=1 #49

Closed mhaberler closed 9 years ago

mhaberler commented 9 years ago
make[2]: Entering directory '/home/mah/ck/regressions/ck_cohort/validate'
./validate `expr 1 / 2` 2 1
ERROR: Number of cohorts must be greater than 0

the validate.c program is just unhappy about argv[1] == "1"

please advise:

?

sbahra commented 9 years ago

We'll update the test to set the floor to 1.