Branch
Hash :
6fc3ac8f
Author :
Date :
2024-08-12T11:24:40
pthread-rwlock tests: Move the waitqueue test into a separate module. * modules/pthread-rwlock-extra-tests: New file. * modules/pthread-rwlock-tests: Revert 2024-08-07 changes. (Depends-on): Add pthread-rwlock-extra-tests.
Files:
tests/test-pthread-rwlock.c
tests/atomic-int-posix.h
tests/macros.h
m4/semaphore.m4
Depends-on:
pthread-thread
pthread-mutex
sched_yield
random
pthread-rwlock-extra-tests
configure.ac:
AC_CHECK_HEADERS_ONCE([semaphore.h])
AC_CHECK_DECLS_ONCE([alarm])
AC_REQUIRE([gl_SEMAPHORE])
Makefile.am:
TESTS += test-pthread-rwlock
check_PROGRAMS += test-pthread-rwlock
test_pthread_rwlock_LDADD = $(LDADD) @LIBPMULTITHREAD@ @SCHED_YIELD_LIB@ @LIB_SEMAPHORE@