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:
Axel Dörfler 2003-01-06 08:10:03 +00:00
parent d703e5451d
commit 1d661e3285

View File

@ -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);