summaryrefslogtreecommitdiff
path: root/tests/test_atomic.c
diff options
context:
space:
mode:
authorhboehm <hboehm>2006-03-28 23:36:58 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-25 15:19:42 +0400
commit00768a253f3d93a85a2dfbf85fd4e7f5a70b1dca (patch)
tree84809a8c56e717e8c1c1aca0059bccbbb9d77b55 /tests/test_atomic.c
parent6784eb46516f8f0876f2af66af450c43ecd8af36 (diff)
downloadlibatomic_ops-00768a253f3d93a85a2dfbf85fd4e7f5a70b1dca.tar.gz
2006-03-28 Hans Boehm <Hans.Boehm@hp.com>
Integrate Earl Chew's atomic_ops improvements. More details are in the libatomic_ops ChangeLog. * ChangeLog, src/atomic_ops.h, src/atomic_ops/sysdeps/gcc/powerpc.h, src/atomic_ops/sysdeps/msftc/x86.h, tests/run_parallel.inc, tests/test_atomic.c, tests/test_atomic_include.h.
Diffstat (limited to 'tests/test_atomic.c')
-rw-r--r--tests/test_atomic.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_atomic.c b/tests/test_atomic.c
index 03da5f2..d31297d 100644
--- a/tests/test_atomic.c
+++ b/tests/test_atomic.c
@@ -27,6 +27,13 @@
# define NITERS 10000000
#endif
+void * add1sub1_thr(void * id);
+int add1sub1_test(void);
+void * acqrel_thr(void *id);
+int acqrel_test(void);
+void * test_and_set_thr(void * id);
+int test_and_set_test(void);
+
#if defined(AO_HAVE_fetch_and_add1) && defined(AO_HAVE_fetch_and_sub1)
AO_t counter = 0;