Basilisk II and SheepShaver Macintosh emulators
Go to file
gbeauche 38d03d02e9 The alternate stack trick never worked as you can't modify an active stack.
i.e. it returned EPERM and ran into stack corruption to eventually crash the
emulator. This is noticeable in !hw_mac_cursor_accl mode (e.g. fullscreen DGA).

In order to the sigalstack() to be effective, we must kludge the kernel to
think it's running on another stack. In practise, we provide another stack
for the SIGUSR2 handler. sigusr2_handler_init() fulfills that purpose.

I hope this fixes remaining issues forever. At some point, I had multiple
*_init() handlers in case this is necessary.
2005-06-28 16:47:32 +00:00
BasiliskII Use fast spinlocks only for small enough atomic operations. Otherwise, you 2005-06-25 11:40:29 +00:00
CVSROOT initial checkin 1999-10-03 14:16:16 +00:00
SheepShaver The alternate stack trick never worked as you can't modify an active stack. 2005-06-28 16:47:32 +00:00