diff options
author | Richard Braun <rbraun@sceen.net> | 2013-06-14 23:44:26 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2013-06-14 23:44:26 +0200 |
commit | 6b0a317936a677e5fd925558e6016c35dc69e2fa (patch) | |
tree | 70c6f937d55e03894ba56d5409f8973da8625b09 | |
parent | 2e68b49825c2b334b1f498a6bc066c4d8939e160 (diff) |
kern/llsync: rename read-side critical section functions
Including "lock" in the name of these functions is misleading, since there
is no lock object per se.
-rw-r--r-- | kern/llsync.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/llsync.h b/kern/llsync.h index 002b4257..8a84e5df 100644 --- a/kern/llsync.h +++ b/kern/llsync.h @@ -49,13 +49,13 @@ MACRO_END #define llsync_read_ptr(ptr) (ptr) static inline void -llsync_read_lock(void) +llsync_read_enter(void) { thread_preempt_disable(); } static inline void -llsync_read_unlock(void) +llsync_read_leave(void) { thread_preempt_enable(); } |