PatchworkOS
Loading...
Searching...
No Matches
wait_entry_t Struct Reference

Per-thread wait entry. More...

#include <wait.h>

Data Fields

list_entry_t queueEntry
 Used in wait_queue_t->entries.
 
list_entry_t threadEntry
 Used in wait_thread_ctx_t->entries.
 
thread_tthread
 The thread that is waiting.
 
wait_queue_twaitQueue
 The wait queue the thread is waiting on.
 

Detailed Description

Per-thread wait entry.

Each thread waiting on a wait queue will have one of these entries in the wait queue's list of entries as well as in the thread's list of wait entries.

Definition at line 178 of file wait.h.

Field Documentation

◆ queueEntry

list_entry_t wait_entry_t::queueEntry

Used in wait_queue_t->entries.

Definition at line 180 of file wait.h.

Referenced by wait_block_setup(), wait_remove_wait_entries(), and wait_unblock().

◆ thread

thread_t* wait_entry_t::thread

The thread that is waiting.

Definition at line 182 of file wait.h.

Referenced by wait_block_setup(), wait_remove_wait_entries(), and wait_unblock().

◆ threadEntry

list_entry_t wait_entry_t::threadEntry

Used in wait_thread_ctx_t->entries.

Definition at line 181 of file wait.h.

Referenced by wait_block_setup(), wait_remove_wait_entries(), and wait_unblock().

◆ waitQueue

wait_queue_t* wait_entry_t::waitQueue

The wait queue the thread is waiting on.

Definition at line 183 of file wait.h.

Referenced by wait_block_setup(), and wait_remove_wait_entries().


The documentation for this struct was generated from the following file: