thread->page_faults_allowed is now initialized.

Updated due to the ioctx -> io_context change.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2143 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2002-12-03 14:11:35 +00:00
parent 5cdaa5176e
commit 1291a19d84
+3 -2
View File
@@ -227,7 +227,8 @@ create_thread_struct(const char *name)
t->team = NULL;
t->cpu = NULL;
t->sem_blocking = -1;
t->fault_handler = 0;
t->fault_handler = NULL;
t->page_faults_allowed = 1;
t->kernel_stack_region_id = -1;
t->kernel_stack_base = 0;
t->user_stack_region_id = -1;
@@ -972,7 +973,7 @@ thread_exit(void)
vm_delete_aspace(p->_aspace_id);
delete_owned_ports(p->id);
sem_delete_owned_sems(p->id);
vfs_free_io_context(p->ioctx);
vfs_free_io_context(p->io_context);
free(p);
}