Previous Up Next

Chapter 13  Events and Interrupts

The normal execution of a Prolog program may be interrupted by Events and Interrupts:

Events

Errors

Errors can be viewed as a special case of events. They are raised by built-in predicates (e.g. when the arguments are of the wrong type) and usually pass the culprit goal to the error handler.
Interrupts

Interrupts usually originate from the operating system, e.g. on a Unix host, signals are mapped to ECLiPSe interrupts.

Previous Up Next