diff options
| author | Ivan Maidanski <ivmai@mail.ru> | 2016-10-25 01:07:49 +0300 |
|---|---|---|
| committer | Ivan Maidanski <ivmai@mail.ru> | 2016-10-25 01:07:49 +0300 |
| commit | d36197cd080ac6fea8e5feb1ef880cf6fe358ea3 (patch) | |
| tree | 4abcfa24e76afe65e814c92690e37f1b374ad6b1 /tests/test_atomic.c | |
| parent | 0c5a5ec2526146c8587e0a7b84baae2542724d54 (diff) | |
| download | libatomic_ops-d36197cd080ac6fea8e5feb1ef880cf6fe358ea3.tar.gz | |
Add dd_acquire_read case to test_atomic
* tests/Makefile.am (test_atomic_include.h): Add "_dd_acquire_read"
test generation.
* tests/test_atomic.c [!AO_NO_PTHREADS || !AO_USE_PTHREAD_DEFS] (main):
Call test_atomic_dd_acquire_read().
Diffstat (limited to 'tests/test_atomic.c')
| -rw-r--r-- | tests/test_atomic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_atomic.c b/tests/test_atomic.c index b063a92..80818a4 100644 --- a/tests/test_atomic.c +++ b/tests/test_atomic.c @@ -187,6 +187,7 @@ int main(void) test_atomic_full(); test_atomic_release_write(); test_atomic_acquire_read(); + test_atomic_dd_acquire_read(); # if defined(AO_HAVE_fetch_and_add1) && defined(AO_HAVE_fetch_and_sub1) run_parallel(4, add1sub1_thr, add1sub1_test, "add1/sub1"); # endif |
