The Pedigree Project 0.1
Public Member Functions | Public Attributes | List of all members
PosixSubsystem::SignalHandler Struct Reference

#include <PosixSubsystem.h>

+ Collaboration diagram for PosixSubsystem::SignalHandler:

Public Member Functions

 SignalHandler (const SignalHandler &s)
 
SignalHandler & operator= (const SignalHandler &s)
 

Public Attributes

size_t sig
 Signal number.
 
SignalEvent * pEvent
 Event for the signal handler.
 
uint64_t sigMask
 Signal mask to set when this signal handler is called.
 
uint32_t flags
 Signal handler flags.
 
uintptr_t restorer
 Userspace restorer for Linux-compatible signal delivery.
 
int type
 Type - 0 = normal, 1 = SIG_DFL, 2 = SIG_IGN.
 

Detailed Description

A signal handler

Definition at line 360 of file PosixSubsystem.h.

Constructor & Destructor Documentation

◆ SignalHandler() [1/2]

PosixSubsystem::SignalHandler::SignalHandler ( )
inline

Definition at line 361 of file PosixSubsystem.h.

◆ SignalHandler() [2/2]

PosixSubsystem::SignalHandler::SignalHandler ( const SignalHandler &  s)
inline

Definition at line 363 of file PosixSubsystem.h.

◆ ~SignalHandler()

PosixSubsystem::SignalHandler::~SignalHandler ( )
inline

Definition at line 371 of file PosixSubsystem.h.

Member Function Documentation

◆ operator=()

SignalHandler & PosixSubsystem::SignalHandler::operator= ( const SignalHandler &  s)
inline

Definition at line 377 of file PosixSubsystem.h.

Member Data Documentation

◆ flags

uint32_t PosixSubsystem::SignalHandler::flags

Signal handler flags.

Definition at line 405 of file PosixSubsystem.h.

Referenced by PosixSubsystem::getSignalDisposition(), and PosixSubsystem::queueSignalDelivery().

◆ pEvent

SignalEvent* PosixSubsystem::SignalHandler::pEvent

◆ restorer

uintptr_t PosixSubsystem::SignalHandler::restorer

Userspace restorer for Linux-compatible signal delivery.

Definition at line 408 of file PosixSubsystem.h.

Referenced by PosixSubsystem::getSignalDisposition().

◆ sig

size_t PosixSubsystem::SignalHandler::sig

◆ sigMask

uint64_t PosixSubsystem::SignalHandler::sigMask

Signal mask to set when this signal handler is called.

Definition at line 402 of file PosixSubsystem.h.

Referenced by PosixSubsystem::getSignalDisposition().

◆ type

int PosixSubsystem::SignalHandler::type

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