Need help finding equivalents for on_exit and sigsetmask

Randy Bush randy at oresoft.UUCP
Sun Oct 2 05:58:31 AEST 1988


I am hacking along on a 386 with XENIX 2.3, and having some small confusions.
Playing telephone tag with SCO support got boring.  No blame, we're having a
contest over who is least available on the phone.  If Saltz thinks this is a
helpful newsgroup, then how can I resist?

I am porting the underlying assembler language runtime for a Modula-2 system
from Sun-3 BSD (yes, a 68k) to XENIX/386, and can't seem to find some vital
pieces.

o Where is on_exit, and what should I do about it?  Using adb, I can see _exit
  going through a call chain, so how do I get on it?  I just want to add one
  meager teenie weenie little harmless entry.

o Where oh where is sigsetmask or its equivalent?  I need to disable all
  signals in a critical region and then reenable them just as they were.

o I have some numerical routines (Cody & Waite tests of MathLib0 functions)
  which need to have all intermediate results rounded down to 64 and 32 bits.
  I know how to set a 387's control register to do this, but how do I do it
  when using the emulation?

Thanks.

randy

PS: One or two foolish Modulans who want to be alpha test victims out there?
-- 
randy at oresoft.uu.net                                          FidoNet : 1:105/6
randy%oresoft.uu.net at relay.cs.net                             +1 (503) 245-2202
{ ..!mcvax!uunet, ..!textronix, ..!sun!nosun } !oresoft!randy



More information about the Comp.unix.xenix mailing list