summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-07-25 21:09:04 +0200
committerRichard Braun <rbraun@sceen.net>2017-07-25 21:09:04 +0200
commit50134de5026e9cd5b4b744b78731025ce17bc3cb (patch)
treeb781fe5413a7e88db4a059eb2914d003dd3aeff1 /test
parent05185d96f469bd997740ac4218f168721a4bd677 (diff)
kern/llsync: rename pointer accessors
Diffstat (limited to 'test')
-rw-r--r--test/test_llsync_defer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_llsync_defer.c b/test/test_llsync_defer.c
index 4b8afbc7..c87aff77 100644
--- a/test/test_llsync_defer.c
+++ b/test/test_llsync_defer.c
@@ -87,7 +87,7 @@ test_alloc(void *arg)
}
}
- llsync_assign_ptr(test_pdsc, pdsc);
+ llsync_store_ptr(test_pdsc, pdsc);
condition_signal(&test_condition);
if ((i % TEST_LOOPS_PER_PRINT) == 0) {
@@ -130,7 +130,7 @@ test_free(void *arg)
}
pdsc = test_pdsc;
- llsync_assign_ptr(test_pdsc, NULL);
+ llsync_store_ptr(test_pdsc, NULL);
if (pdsc != NULL) {
work_init(&pdsc->work, test_deferred_free);
@@ -161,7 +161,7 @@ test_read(void *arg)
for (;;) {
llsync_read_enter();
- pdsc = llsync_read_ptr(test_pdsc);
+ pdsc = llsync_load_ptr(test_pdsc);
if (pdsc != NULL) {
s = (const unsigned char *)pdsc->addr;