The Pedigree Project 0.1
Public Member Functions | Public Attributes | List of all members
WaitQueue::Channel Struct Reference
+ Collaboration diagram for WaitQueue::Channel:

Public Member Functions

 Channel (const void *owner=nullptr, uintptr_t value=0)
 
bool operator== (const Channel &other) const
 

Public Attributes

const void * owner
 
uintptr_t value
 

Detailed Description

Definition at line 45 of file WaitQueue.h.

Constructor & Destructor Documentation

◆ Channel()

WaitQueue::Channel::Channel ( const void *  owner = nullptr,
uintptr_t  value = 0 
)
inline

A synchronization key: a wake only matches an equal Channel. Diagnostic-only metadata belongs in debugState/debugAddress.

Definition at line 50 of file WaitQueue.h.

Member Function Documentation

◆ operator==()

bool WaitQueue::Channel::operator== ( const Channel other) const
inline

Definition at line 52 of file WaitQueue.h.

Member Data Documentation

◆ owner

const void* WaitQueue::Channel::owner

Definition at line 56 of file WaitQueue.h.

◆ value

uintptr_t WaitQueue::Channel::value

Definition at line 57 of file WaitQueue.h.


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