Hash :
081302a4
Author :
Date :
2024-06-03T12:51:08
pthread-* tests, regex tests: Prepare for use of 'alarm'. * modules/pthread-cond-tests (configure.ac): Test whether 'alarm' is declared. * modules/pthread-mutex-tests (configure.ac): Likewise. * modules/pthread-once-tests (configure.ac): Likewise. * modules/pthread-rwlock-tests (configure.ac): Likewise. * modules/pthread-tss-tests (configure.ac): Likewise. * modules/regex-tests (configure.ac): Likewise.
Files:
tests/test-pthread-once1.c
tests/test-pthread-once2.c
tests/macros.h
Depends-on:
pthread-thread
pthread-mutex
pthread-rwlock
sched_yield
configure.ac:
AC_CHECK_DECLS_ONCE([alarm])
Makefile.am:
TESTS += test-pthread-once1 test-pthread-once2
check_PROGRAMS += test-pthread-once1 test-pthread-once2
test_pthread_once1_LDADD = $(LDADD) @LIBPMULTITHREAD@
test_pthread_once2_LDADD = $(LDADD) @LIBPMULTITHREAD@ @SCHED_YIELD_LIB@