SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND


Platform::Thread
Class InterruptSignal

ThrowableType
   |
   +-InterruptSignal

Implemented in:
Platform.Thread.h

class InterruptSignal:
public ThrowableType

Represents an interrupt signal.

See Also:
Thread, Task::interrupt

Field Summarycollapse
protected const Int interruptCode
          An interrupt code.

Constructor Summarycollapse
InterruptSignal()
          Creates an interrupt signal with code set to zero.
InterruptSignal(Int code)
          Creates an interrupt signal with the specified code value.

Method Summarycollapse
Int code() const
          Retrieves this interrupt's code.

 

Field Detail

interruptCode

protected const Int interruptCode

An interrupt code. This is a user-defined value which can be used e.g. to specify a command a thread should perform once it receives the interrupt.

 

Constructor Detail

InterruptSignal[inline]

InterruptSignal()

Creates an interrupt signal with code set to zero.


InterruptSignal[inline]

InterruptSignal(Int code)

Creates an interrupt signal with the specified code value.

Parameters:
code - a user-defined value

 

Method Detail

code[inline]

Int code() const

Retrieves this interrupt's code. An interrupt code is a user-defined value which can be used e.g. to specify a command a thread should perform once it receives this interrupt.

Returns:
a user-defined value


SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND