Lines Matching defs:Thread
5 //! This module defines the `Thread` type, which represents a userspace thread that is using
246 /// The fields of `Thread` protected by the spinlock.
343 pr_warn_ratelimited!("Thread reply work is already in use.\n");
353 pr_warn_ratelimited!("Thread return work is already in use.\n");
369 fn pop_transaction_to_reply(&mut self, thread: &Thread) -> Result<DArc<Transaction>> {
438 pub(crate) struct Thread {
456 impl ListArcSafe<0> for Thread {
461 impl ListItem<0> for Thread {
466 impl Thread {
471 try_pin_init!(Thread {
475 inner <- kernel::new_spinlock!(inner, "Thread::inner"),
476 work_condvar <- kernel::new_condvar!("Thread::work_condvar"),
1770 _thread: &Thread,