cheshirekow
v0.1.0
|
Go to the source code of this file.
Namespaces | |
pthreads | |
Wraps posix-threads (pthreads.h) with object oriented API. | |
Enumerations | |
enum | pthreads::DetachState { pthreads::DETACHED = 0, pthreads::JOINABLE = 1, pthreads::INVALID_DETACH_STATE } |
controls whether a thread is created in a detached state, meaning that the thread will destroy itself when it finished running, and cannot be joined More... | |
enum | pthreads::InheritSched { pthreads::INHERIT = 0, pthreads::EXPLICIT = 1, pthreads::INVALID_INHERIT_SCHED } |
determines whether a thread inherits it's scheduling policy from the creating thread or if it uses the policy stored in the attribute object More... | |
enum | pthreads::Protocol { pthreads::PRIO_NONE, pthreads::PRIO_INHERIT, pthreads::PRIO_PROTECT, pthreads::INVALID_PROTOCOL } |
Which progocol is used for priority. More... | |
enum | pthreads::PShared { pthreads::SHARED, pthreads::PRIVATE, pthreads::INVALID_PSHARED } |
indicates whether or not a resource is shared across processes More... | |
enum | pthreads::SchedPolicy { pthreads::OTHER, pthreads::FIFO, pthreads::RR, pthreads::BATCH, pthreads::IDLE, pthreads::SPORADIC, pthreads::INVALID_SCHED_POLICY } |
if multiple threads are waiting on the same mutex, the Scheduling Policy determines the order in which they are aquired More... | |
enum | pthreads::Scope { pthreads::SYSTEM = 0, pthreads::PROCESS = 1, pthreads::INVALID_SCOPE } |
Signifies process or system scheduling contention scope. More... | |
enum | pthreads::Type { pthreads::NORMAL, pthreads::ERROR_CHECK, pthreads::RECURSIVE, pthreads::DEFAULT, pthreads::INVALID_TYPE } |
Types of mutexes. More... | |
Functions | |
template<typename Enum > | |
Enum | pthreads::getEnum (int val) |
returns the pthread integer enumerator that corresponds to the specified value More... | |
template<typename Enum > | |
int * | pthreads::getEnumMap () |
returns pointer to a map from enums to pthread enums (ints) More... | |
template<typename Enum > | |
int | pthreads::mapEnum (Enum val) |
returns the pthread integer enumerator that corresponds to the specified value More... | |