Just slightly changed a comment; there was more, but I removed that, and
I was too lazy to revert that little change back, so that I would be able to write this short paragraph explaining what I've done. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2364 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d703e5451d
commit
1d661e3285
@ -391,8 +391,10 @@ _create_thread(const char *name, team_id pid, addr entry, void *args, int priori
|
||||
arch_thread_initialize_kthread_stack(t, &_create_kernel_thread_kentry, &thread_kthread_entry, &thread_kthread_exit);
|
||||
} else {
|
||||
// create user stack
|
||||
// XXX make this better. For now just keep trying to create a stack
|
||||
// until we find a spot.
|
||||
|
||||
// ToDo: make this better. For now just keep trying to create a stack
|
||||
// until we find a spot.
|
||||
|
||||
t->user_stack_base = (USER_STACK_REGION - STACK_SIZE - ENV_SIZE) + USER_STACK_REGION_SIZE;
|
||||
while (t->user_stack_base > USER_STACK_REGION) {
|
||||
sprintf(stack_name, "%s_stack%ld", p->name, t->id);
|
||||
|
Loading…
Reference in New Issue
Block a user