Lines Matching defs:self
100 _pthread_data *self = pthread_get_self_data();
101 if (self->canceled && (self->cancelstate == PTHREAD_CANCEL_ENABLE)) {
140 STATIC VOID SetPthreadAttr(const _pthread_data *self, const pthread_attr_t *attr, pthread_attr_t *outAttr)
160 if (self->task == NULL) {
163 outAttr->schedpolicy = self->attr.schedpolicy;
164 outAttr->schedparam = self->attr.schedparam;
165 outAttr->scope = self->attr.scope;
226 _pthread_data *self = pthread_get_self_data();
232 SetPthreadAttr(self, attr, &userAttr);
281 _pthread_data *self = pthread_get_self_data();
292 self->task->joinRetval = retVal;
297 if (self->state == PTHREAD_STATE_DETACHED) {
298 self->state = PTHREAD_STATE_EXITED;
301 self->state = PTHREAD_STATE_JOIN;
309 OsTaskJoinPostUnsafe(self->task);
310 if (self->task->taskStatus & OS_TASK_STATUS_RUNNING) {
360 _pthread_data *self = NULL;
371 self = pthread_get_self_data();
378 if (joined == self) {
596 _pthread_data *self = NULL;
608 self = pthread_get_self_data();
611 *oldState = self->cancelstate;
614 self->cancelstate = (UINT8)state;
630 _pthread_data *self = NULL;
642 self = pthread_get_self_data();
644 *oldType = self->canceltype;
647 self->canceltype = (UINT8)type;