]> Savannah Git Hosting - gnulib.git/commit
cond tests: Improve multithread-safety.
authorBruno Haible <bruno@clisp.org>
Fri, 28 Jun 2024 19:51:40 +0000 (21:51 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 28 Jun 2024 20:39:49 +0000 (22:39 +0200)
commit60acac06739f191bf433afbfbacbe738e5df3be2
tree189d8b531c4c815825fa5c3e7c6768b2560a30de
parentd7b8b1ccc988290277945f52e1582dd669a97d7f
cond tests: Improve multithread-safety.

* tests/test-cnd.c (cond_value, cond_timed_out): Mark as volatile.
* tests/test-cond.c (cond_value, cond_timed_out): Likewise.
* tests/test-pthread-cond.c (cond_value, cond_timed_out): Likewise.
ChangeLog
tests/test-cnd.c
tests/test-cond.c
tests/test-pthread-cond.c