1 #ifndef CARMA_UTIL_PTHREAD_ATTR_H
2 #define CARMA_UTIL_PTHREAD_ATTR_H
40 int getDetachState( )
const;
42 void setDetachState(
int detachState );
45 ::size_t getStackSize( )
const;
47 void setStackSize( ::
size_t stackSize );
50 ::size_t getGuardSize( )
const;
52 void setGuardSize( ::
size_t guardSize );
86 ::pthread_attr_t attr_;
94 inline const ::pthread_attr_t &
101 inline ::pthread_attr_t &
virtual ~PthreadAttr()
Destruct pthread attributes.
const ::pthread_attr_t & InternalPthreadAttr() const
Obtain a reference to the internal ::pthread_attr_t.
A simple wrapper class that makes use of ::pthread_attr_t easier in a C++ world.
PthreadAttr()
Construct pthread attributes with the CARMA defaults.