27 #ifndef CPP_PTHREADS_THREADATTR_H_
28 #define CPP_PTHREADS_THREADATTR_H_
69 extern const Access<Thread, Scope>
SCOPE;
72 extern const Access<Thread, GuardSize>
GUARD_SIZE;
76 extern const Access<Thread, Stack>
STACK;
79 extern const Access<Thread, StackSize>
STACK_SIZE;
85 typedef pthread_attr_t
type;
90 #endif // THREADATTR_H_
const Access< Thread, SchedPolicy > SCHED_POLICY
provides access to the schedpolicy field of a pthread_attr_t
const Access< Thread, StackSize > STACK_SIZE
provides access to the stacksize field of a pthread_attr_t
template used to resolve the pthreads_xxx_t object corresponding to the Attr<Base> object ...
Stack(void *addr=0, std::size_t size=0)
const Access< Thread, GuardSize > GUARD_SIZE
provides access to the guardsize field of a pthread_attr_t
A thread... presumably you know what this is.
const Access< Thread, Scope > SCOPE
provides access to the scope field of a pthread_attr_t
Provides a unique type that acts like a native type.
TypeWrap< std::size_t, 0 > GuardSize
A unique type which acts just like size_t but is distinct in the eyes of the compiler.
TypeWrap< std::size_t, 1 > StackSize
A unique type which acts just like size_t but is distinct in the eyes of the compiler.
const Access< Thread, DetachState > DETACH_STATE
provides access to the detachstate field of a pthread_attr_t
Simply encapsulates the stack address and size in a single object.
const Access< Thread, InheritSched > INHERIT_SCHED
provides access to the inheritsched field of a pthread_attr_t
const Access< Thread, Stack > STACK
provides access to the stack field of a pthread_attr_t, including stack address and size ...