The Pedigree Project 0.1
Public Attributes | List of all members
InputManager::CallbackItem Struct Reference

Item in the kernel callback list. More...

+ Collaboration diagram for InputManager::CallbackItem:

Public Attributes

callback_t func
 The handler function.
 
CallbackType filter
 Filter for this callback.
 
void * meta
 Meta pointer for the InputNotifications we generate.
 
size_t inFlight
 Pins held by a worker snapshot or an active callback invocation.
 
bool enabled
 No new invocation may begin after this becomes false.
 
bool draining
 An external remover owns final deletion after draining inFlight.
 
size_t removers
 External removers which must all finish before final deletion.
 
bool deferredRemoval
 The input worker must delete this item after self-removal drains.
 
WaitQueue drainWaiters
 

Detailed Description

Item in the kernel callback list.

Definition at line 174 of file InputManager.h.

Member Data Documentation

◆ deferredRemoval

bool InputManager::CallbackItem::deferredRemoval

The input worker must delete this item after self-removal drains.

Definition at line 198 of file InputManager.h.

Referenced by InputManager::installCallback().

◆ draining

bool InputManager::CallbackItem::draining

An external remover owns final deletion after draining inFlight.

Definition at line 192 of file InputManager.h.

Referenced by InputManager::installCallback().

◆ drainWaiters

WaitQueue InputManager::CallbackItem::drainWaiters

Definition at line 200 of file InputManager.h.

◆ enabled

bool InputManager::CallbackItem::enabled

No new invocation may begin after this becomes false.

Definition at line 189 of file InputManager.h.

Referenced by InputManager::installCallback().

◆ filter

CallbackType InputManager::CallbackItem::filter

Filter for this callback.

Definition at line 179 of file InputManager.h.

Referenced by InputManager::installCallback().

◆ func

callback_t InputManager::CallbackItem::func

The handler function.

Definition at line 176 of file InputManager.h.

Referenced by InputManager::installCallback().

◆ inFlight

size_t InputManager::CallbackItem::inFlight

Pins held by a worker snapshot or an active callback invocation.

Definition at line 186 of file InputManager.h.

Referenced by InputManager::installCallback(), and InputManager::shutdown().

◆ meta

void* InputManager::CallbackItem::meta

Meta pointer for the InputNotifications we generate.

Definition at line 182 of file InputManager.h.

Referenced by InputManager::installCallback().

◆ removers

size_t InputManager::CallbackItem::removers

External removers which must all finish before final deletion.

Definition at line 195 of file InputManager.h.

Referenced by InputManager::installCallback().


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