Rev 3014 | Rev 3035 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3014 | Rev 3034 | ||
|---|---|---|---|
| Line 101... | Line 101... | ||
| 101 | /** Kernel answerbox */ |
101 | /** Kernel answerbox */ |
| 102 | answerbox_t kernel_box; |
102 | answerbox_t kernel_box; |
| 103 | /** Thread used to service kernel answerbox */ |
103 | /** Thread used to service kernel answerbox */ |
| 104 | struct thread *kb_thread; |
104 | struct thread *kb_thread; |
| 105 | /** Kbox thread creation vs. begin of cleanup mutual exclusion */ |
105 | /** Kbox thread creation vs. begin of cleanup mutual exclusion */ |
| 106 | SPINLOCK_DECLARE(kb_cleanup_lock); |
106 | mutex_t kb_cleanup_lock; |
| 107 | /** True if cleanup of kbox has already started */ |
107 | /** True if cleanup of kbox has already started */ |
| 108 | bool kb_finished; |
108 | bool kb_finished; |
| 109 | /** Used for waiting on kbox thread shutdown */ |
109 | /** Used for waiting on kbox thread shutdown */ |
| 110 | waitq_t kb_thread_shutdown_wq; |
110 | waitq_t kb_thread_shutdown_wq; |
| 111 | 111 | ||