TSDuck Version 3.19-1462 (TSDuck - The MPEG Transport Stream Toolkit)
ts::SignalAllocator Class Reference

Allocate POSIX real-time signal numbers (Linux-specific). More...

Public Member Functions

int allocate ()
 Allocate a new signal number. More...
 
void release (int sig)
 Release a signal number. More...
 

Detailed Description

Allocate POSIX real-time signal numbers (Linux-specific).

Member Function Documentation

◆ allocate()

int ts::SignalAllocator::allocate ( )

Allocate a new signal number.

Returns
A POSIX real-time signal number or -1 if none available.

◆ release()

void ts::SignalAllocator::release ( int  sig)

Release a signal number.

Parameters
[in]sigA POSIX real-time signal number.

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