1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

pthread-mutex: Add tests.

* tests/test-pthread-mutex.c: New file, based on tests/test-lock.c and
tests/test-mtx.c.
* modules/pthread-mutex-tests: New file.
This commit is contained in:
Bruno Haible
2019-07-15 02:41:12 +02:00
parent da2524b310
commit 243f6dbf66
3 changed files with 545 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
Files:
tests/test-pthread-mutex.c
tests/macros.h
Depends-on:
pthread-thread
sched_yield
configure.ac:
Makefile.am:
TESTS += test-pthread-mutex
check_PROGRAMS += test-pthread-mutex
test_pthread_mutex_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@