23 #ifdef EXTERNAL_TEMPLATES
24 # pragma implementation "PthreadErrorHandler.h"
25 # pragma implementation "PthreadBase.h"
26 # pragma implementation "PthreadScheduleParam.h"
61 TrapError( pthread_create( (pthread_t*)&
theThread, (pthread_attr_t*)attr, entryFunc, arg) );
80 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &oldState);
90 pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &oldState);
99 pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, &oldState);
109 pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldState);
114 #ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
116 int PthreadBase::SchedulePolicy(
void)
127 int PthreadBase::SchedulePriority(
void)
138 void PthreadBase::GetScheduleParams(
int& policy,
int& priority)
148 void PthreadBase::SetScheduleParams(
int policy,
int priority)
int Priority(int priority)
static int CancelEnable(void)
static int CancelDeferred(void)
static int CancelDisable(void)
static pthread_t Self(void)
static int CancelAsynchronous(void)
void TrapError(int result)