Lines Matching defs:self
104 _thrp_setup(ulwp_t *self)
106 self->ul_ustack.ss_sp = (void *)(self->ul_stktop - self->ul_stksiz);
107 self->ul_ustack.ss_size = self->ul_stksiz;
108 self->ul_ustack.ss_flags = 0;
109 (void) setustack(&self->ul_ustack);
111 update_sched(self);
115 sigon(self);
117 if (self->ul_cancel_pending == 2 && !self->ul_cancel_disabled)
119 return (self->ul_startpc(self->ul_startarg));
177 ulwp_t *self = curthread;
179 ucp->uc_link = self->ul_siglink;
180 if (self->ul_ustack.ss_flags & SS_ONSTACK)
181 ucp->uc_stack = self->ul_ustack;
184 (void *)(self->ul_stktop - self->ul_stksiz);
185 ucp->uc_stack.ss_size = self->ul_stksiz;
191 enter_critical(self);
192 ucp->uc_sigmask = self->ul_sigmask;
193 exit_critical(self);