Home | History | Annotate | Download | only in safestack

Lines Matching defs:tinfo

126 struct tinfo {
138 struct tinfo *tinfo = (struct tinfo *)arg;
140 void *(*start_routine)(void *) = tinfo->start_routine;
141 void *start_routine_arg = tinfo->start_routine_arg;
143 // Setup the unsafe stack; this will destroy tinfo content
144 unsafe_stack_setup(tinfo->unsafe_stack_start, tinfo->unsafe_stack_size,
145 tinfo->unsafe_stack_guard);
195 struct tinfo *tinfo =
196 (struct tinfo *)(((char *)addr) + size - sizeof(struct tinfo));
197 tinfo->start_routine = start_routine;
198 tinfo->start_routine_arg = arg;
199 tinfo->unsafe_stack_start = addr;
200 tinfo->unsafe_stack_size = size;
201 tinfo->unsafe_stack_guard = guard;
203 return REAL(pthread_create)(thread, attr, thread_start, tinfo);