PatchworkOS  da8a090
A non-POSIX operating system.
Loading...
Searching...
No Matches
wait_entry_t Struct Reference

Represents a thread waiting on a wait queue. More...

#include <wait.h>

Collaboration diagram for wait_entry_t:

Data Fields

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

Detailed Description

Represents a thread waiting on a wait queue.

Since each thread can wait on multiple wait queues simultaneously, each wait queue the thread is waiting on will have its own wait entry.

Definition at line 169 of file wait.h.

Field Documentation

◆ queueEntry

list_entry_t wait_entry_t::queueEntry

Used in wait_queue_t->entries.

Definition at line 171 of file wait.h.

◆ threadEntry

list_entry_t wait_entry_t::threadEntry

Used in wait_client_t->entries.

Definition at line 172 of file wait.h.

◆ thread

thread_t* wait_entry_t::thread

The thread that is waiting.

Definition at line 173 of file wait.h.

◆ queue

wait_queue_t* wait_entry_t::queue

The wait queue the thread is waiting on.

Definition at line 174 of file wait.h.


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