summaryrefslogtreecommitdiff
path: root/kern/thread.h
diff options
context:
space:
mode:
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 c4dbd5d1..f2cbfa01 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.
*/