File: pthread-once-tests

package info (click to toggle)
gnulib 20260109-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 165,988 kB
  • sloc: ansic: 391,363; sh: 30,873; python: 8,397; cpp: 2,985; yacc: 1,846; perl: 920; makefile: 631; lisp: 328; sed: 11; java: 5
file content (19 lines) | stat: -rw-r--r-- 433 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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) @PTHREAD_ONCE_LIB@
test_pthread_once2_LDADD = $(LDADD) @LIBPMULTITHREAD@ @SCHED_YIELD_LIB@