XENIX <-> ULTRIX interrupts & traps
Mike Deutsch
mike at samira.UUCP
Mon Nov 10 18:47:14 AEST 1986
I have a program written in C which I need to run under both ULTRIX 1.2
on an 8600 and Microsoft sys V XENIX on an IBM AT.
In the application, the user enters commands from the keyboard.
I trap interrupts, and go to an interrupt handler when they hit
interrupt. In this handler, I ask the user if they wish to continue
or abort.
Under XENIX, when the program returns from the interrupt handler, the
program doesn't still expect to be reading at the read where the interrupt
trap was received. Under ULTRIX, it does.
1) Which one is correct? It's the same code, both C, so one must be wrong.
2) I'd prefer the program to function as it does under XENIX. How can
I get it to not continue with the read when there was an interrupt during
the read?
Thank you very much.
Please e-mail me the answer, as our net connection remains slightly
shaky.
More information about the Comp.unix.xenix
mailing list