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 (
)
inline

Add a rule.

Parameters
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.
Returns
0 on sucess, <0 on error

Only the first match is applied.

See also
l4_thread_modify_sender_add()

Definition at line 352 of file thread.


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