]> granicus.if.org Git - gc/commit
Allow subthreadcreate_test to be compiled with zero NTHREADS
authorIvan Maidanski <ivmai@mail.ru>
Tue, 10 Apr 2018 21:26:09 +0000 (00:26 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 10 Apr 2018 21:55:37 +0000 (00:55 +0300)
commit0b8317fee5b060372099cedae72fde9ac47106a4
treebc71319d468163d6f1c22d8b6be01e5f80f346e6
parent36c6c7f25960ecec135d70a5ad4df01b0551e773
Allow subthreadcreate_test to be compiled with zero NTHREADS

* tests/subthread_create.c [AO_HAVE_fetch_and_add1] (main): Skip the
test (except for printing the number of created and ended threads) if
NTHREADS is 0.
tests/subthread_create.c