previous next top contents index framed top this page unframed
When you type CTRL-C to a MAINSAIL
process run from a character-based
bootstrap, the bootstrap exits immediately, without confirmation.
11.3. Procedure Stack Overflow
MAINSAIL uses CreateFiber to create a Windows NT fiber for each
MAINSAIL coroutine and allocate the coroutine's stack.
CreateFiber automatically takes care of allocating the stack in
such a way that an operating system exception occurs when the stack
overflows.
11.4. Treatment of Operating System Exceptions
MAINSAIL sets up an unhandled exception filter to trap operating system
exceptions. The MAINSAIL filter overrides any filter set up by foreign
code if foreign code starts execution and invokes MAINSAIL after it has
set up a filter.
The exceptions trapped are:
EXCEPTION_GUARD_PAGE may be the exception generated for a stack overflow. In fact, all instances of EXCEPTION_STACK_OVERFLOW and EXCEPTION_GUARD_PAGE are reported as stack overflows, regardless of their actual cause.
MAINSAIL System-Specific User's Guides, Chapter 11