summaryrefslogtreecommitdiff
path: root/kern/thread.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2018-02-20 23:00:56 +0100
committerRichard Braun <rbraun@sceen.net>2018-02-20 23:01:36 +0100
commitfa5142c3f383241942fb8fb6de84153fc0286a6e (patch)
tree44525a5ed99ca1a8910c7c935f4c51a2350ce319 /kern/thread.h
parent326118bf300cf096cee04cb0a64789151ef8e273 (diff)
kern/llsync: remove module
Diffstat (limited to 'kern/thread.h')
-rw-r--r--kern/thread.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/kern/thread.h b/kern/thread.h
index c4dbd5d..f2cbfa0 100644
--- a/kern/thread.h
+++ b/kern/thread.h
@@ -644,41 +644,6 @@ thread_intr_leave(void)
}
/*
- * Lockless synchronization read-side critical section level control functions.
- */
-
-static inline int
-thread_llsync_in_read_cs(void)
-{
- struct thread *thread;
-
- thread = thread_self();
- return thread->llsync_level != 0;
-}
-
-static inline void
-thread_llsync_read_inc(void)
-{
- struct thread *thread;
-
- thread = thread_self();
- thread->llsync_level++;
- assert(thread->llsync_level != 0);
- barrier();
-}
-
-static inline void
-thread_llsync_read_dec(void)
-{
- struct thread *thread;
-
- barrier();
- thread = thread_self();
- assert(thread->llsync_level != 0);
- thread->llsync_level--;
-}
-
-/*
* RCU functions.
*/