summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_private.h
diff options
context:
space:
mode:
authorJonathan Mini <mini@FreeBSD.org>2002-11-12 00:55:01 +0000
committerJonathan Mini <mini@FreeBSD.org>2002-11-12 00:55:01 +0000
commit1cb53a1828d69adccde518926d2dc13cba5600b5 (patch)
treefedef254ec4bd859e5469adcfbc6c00ab847b4a2 /lib/libpthread/thread/thr_private.h
parent86b62d35bf7d6cd5554a77398cbbbc0041d028af (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_private.h')
-rw-r--r--lib/libpthread/thread/thr_private.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_private.h b/lib/libpthread/thread/thr_private.h
index 1388744a5757..8aacdc0c7ee6 100644
--- a/lib/libpthread/thread/thr_private.h
+++ b/lib/libpthread/thread/thr_private.h
@@ -809,6 +809,17 @@ SCLASS void * _thread_kern_sched_stack
#endif
;
+/*
+ * Delcare the idle context.
+ */
+SCLASS struct kse_thr_mailbox _idle_thr_mailbox;
+
+SCLASS void * _idle_thr_stack
+#ifdef GLOBAL_PTHREAD_PRIVATE
+= NULL
+#endif
+;
+
/* Used for _PTHREADS_INVARIANTS checking. */
SCLASS int _thread_kern_new_state
@@ -873,6 +884,7 @@ void *_thread_cleanup(pthread_t);
void _thread_cleanupspecific(void);
void _thread_dump_info(void);
void _thread_init(void);
+void _thread_kern_idle(void);
void _thread_kern_sched(void);
void _thread_kern_scheduler(struct kse_mailbox *);
void _thread_kern_sched_state(enum pthread_state, char *fname, int lineno);