L4Re - L4 Runtime Environment
L4::Thread::Modify_senders Class Reference

Wrapper class for modifying senders. More...

+ Collaboration diagram for L4::Thread::Modify_senders:

Public Member Functions

int add (l4_umword_t match_mask, l4_umword_t match, l4_umword_t del_bits, l4_umword_t add_bits) throw ()
 Add a rule. More...

Detailed Description

Wrapper class for modifying senders.

Use the add() function to add modification rules, and use modify_senders() to commit. Do not use the UTCB inbetween as it is used by add() and modify_senders().

Definition at line 323 of file thread.

Member Function Documentation

◆ add()

int L4::Thread::Modify_senders::add ( l4_umword_t  match_mask,
l4_umword_t  match,
l4_umword_t  del_bits,
l4_umword_t  add_bits 
throw (

Add a rule.

match_maskBitmask of bits to match the label.
matchBitmask that must be equal to the label after applying match_mask.
del_bitsBits to be deleted from the label.
add_bitsBits to be added to the label.
0 on sucess, <0 on error

Only the first match is applied.

See also

Definition at line 352 of file thread.

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