• guilhem@gbichot3.local's avatar
    fixes for the my_atomic-t unit test: · 7e95cda2
    guilhem@gbichot3.local authored
    - compiler warning
    - detection of pthread_create failure (you will see this message
    only if you run with "make test-verbose" in unittest; otherwise
    unit.pl masks all messages from the test but "ok" ones.
    - the test fails randomly on some machines (I filed it as BUG#22320),
    on one host it looks like a crash at exit() which a sleep(2) makes
    disappear. So I add the sleep(2), which can be removed
    when BUG#22320 is fixed. 
    7e95cda2
my_atomic-t.c 4.61 KB