Ben Rogers
2005-02-23 15:25:24 UTC
Has anyone else had any trouble with interrupts and calling the join
function?
I enable interrupts in spawn right before the call to Read Fully. After
that join fails another assertion that interrupts need to be enabled.
After trying to enable interrupts before calling join it seems to fail
an assertion in the enable interrupts function on the SECOND time trying
to run a program in shell.exe. (All of the programs will run once
correctly, but any time a second program is called, it fails what seems
to be an assertion in Enable_Interrupts)
I am thinking its either something with the interrupts in Sys_Wait, or
something not being cleaned up correctly. It's my understanding that
Destroy User Context has to Free the segment descriptor, memory and the
user context, am I missing something here?
function?
I enable interrupts in spawn right before the call to Read Fully. After
that join fails another assertion that interrupts need to be enabled.
After trying to enable interrupts before calling join it seems to fail
an assertion in the enable interrupts function on the SECOND time trying
to run a program in shell.exe. (All of the programs will run once
correctly, but any time a second program is called, it fails what seems
to be an assertion in Enable_Interrupts)
I am thinking its either something with the interrupts in Sys_Wait, or
something not being cleaned up correctly. It's my understanding that
Destroy User Context has to Free the segment descriptor, memory and the
user context, am I missing something here?