The Pedigree Project  0.1
Private Member Functions | List of all members
Uninterruptible Class Reference

#include <Uninterruptible.h>

+ Collaboration diagram for Uninterruptible:

Private Member Functions

 NOT_COPYABLE_OR_ASSIGNABLE (Uninterruptible)
 

Detailed Description

Uninterruptible provides an RAII helper to move the current thread into an uninterruptible state. That means the thread will be able to be scheduled, but will not be able to have any events sent to it until it ceases to be uninterruptible. This can be important in certain cases where an event would cause a re-entry into a mutual exclusion critical section or some other undesirable event.

Note
Threads cannot be set uninterruptible without using this.

Definition at line 35 of file Uninterruptible.h.


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