
116
CHAPTER 4 EXCEPTION HANDLING
with a zero value, the handlers will be called in the order in which
they were add ed.
returns a non- value if it
succeeds, and it requires a single parameter, the handler address.
The successful return value is a pointer to the exception handler, that is,
. A return value indicates failure.
is a pointer to the handler function, which is of the form:
is the address of an struc-
ture with processor-specific and general information. This is the same structure
returned by
and used in Program 4–4.
A VEH handler function should be fast, and it should never access a
synchronization object, such as a mutex (see Cha