Mercurial > gnulib
annotate modules/lock-tests @ 40186:8964917f9574
autoupdate
author | Karl Berry <karl@freefriends.org> |
---|---|
date | Mon, 18 Feb 2019 08:02:49 -0800 |
parents | 88a10f6bfcaa |
children |
rev | line source |
---|---|
6114 | 1 Files: |
18647
9c7c6767d0f6
lock: Provide guarantee to avoid writer starvation for rwlocks.
Bruno Haible <bruno@clisp.org>
parents:
10555
diff
changeset
|
2 tests/test-rwlock1.c |
6114 | 3 tests/test-lock.c |
19530
88a10f6bfcaa
lock: Add test of gl_once.
Bruno Haible <bruno@clisp.org>
parents:
18707
diff
changeset
|
4 tests/test-once.c |
6114 | 5 |
6 Depends-on: | |
10555
54312948a98f
Make use of the modules 'thread', 'yield' in the 'lock' test.
Bruno Haible <bruno@clisp.org>
parents:
10378
diff
changeset
|
7 thread |
18647
9c7c6767d0f6
lock: Provide guarantee to avoid writer starvation for rwlocks.
Bruno Haible <bruno@clisp.org>
parents:
10555
diff
changeset
|
8 usleep |
10555
54312948a98f
Make use of the modules 'thread', 'yield' in the 'lock' test.
Bruno Haible <bruno@clisp.org>
parents:
10378
diff
changeset
|
9 yield |
6114 | 10 |
11 configure.ac: | |
18707
2ff6687f66d2
lock tests: Fix build failure on z/OS.
Bruno Haible <bruno@clisp.org>
parents:
18687
diff
changeset
|
12 AC_CHECK_HEADERS_ONCE([semaphore.h]) |
6114 | 13 |
14 Makefile.am: | |
19530
88a10f6bfcaa
lock: Add test of gl_once.
Bruno Haible <bruno@clisp.org>
parents:
18707
diff
changeset
|
15 TESTS += test-rwlock1 test-lock test-once1 test-once2 |
88a10f6bfcaa
lock: Add test of gl_once.
Bruno Haible <bruno@clisp.org>
parents:
18707
diff
changeset
|
16 check_PROGRAMS += test-rwlock1 test-lock test-once1 test-once2 |
18687
38d63d04ebaf
lock tests: Fix link error.
Bruno Haible <bruno@clisp.org>
parents:
18647
diff
changeset
|
17 test_rwlock1_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ |
10555
54312948a98f
Make use of the modules 'thread', 'yield' in the 'lock' test.
Bruno Haible <bruno@clisp.org>
parents:
10378
diff
changeset
|
18 test_lock_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ |
19530
88a10f6bfcaa
lock: Add test of gl_once.
Bruno Haible <bruno@clisp.org>
parents:
18707
diff
changeset
|
19 test_once1_SOURCES = test-once.c |
88a10f6bfcaa
lock: Add test of gl_once.
Bruno Haible <bruno@clisp.org>
parents:
18707
diff
changeset
|
20 test_once1_LDADD = $(LDADD) @LIBTHREAD@ |
88a10f6bfcaa
lock: Add test of gl_once.
Bruno Haible <bruno@clisp.org>
parents:
18707
diff
changeset
|
21 test_once2_SOURCES = test-once.c |
88a10f6bfcaa
lock: Add test of gl_once.
Bruno Haible <bruno@clisp.org>
parents:
18707
diff
changeset
|
22 test_once2_LDADD = $(LDADD) @LIBMULTITHREAD@ |