]> granicus.if.org Git - gc/commit
tests: Fix subthread_create.c by defining AO_REQUIRE_CAS
authorIvan Maidanski <ivmai@mail.ru>
Sun, 4 Mar 2012 10:20:10 +0000 (14:20 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 4 Mar 2012 10:20:10 +0000 (14:20 +0400)
commit0c07c24516dfc10f02920313ba5b2b1eafa19453
tree84b41aeff95fe3382d5fb613e85a94e2e985cdd3
parenteb6fd311de63c10c49dd01dc3488800db6f47c1d
tests: Fix subthread_create.c by defining AO_REQUIRE_CAS

* subthread_create.c (AO_REQUIRE_CAS): Define in case of PARALLEL_MARK
(guaranteeing AO_fetch_and_add to be defined at least if GC is built
with parallel marking enabled).
tests/subthread_create.c