MAX is capable of handling events of varying priorities by the use of monitors. When a monitor detects an event, it compares the priority of its event with the priority of the current behavior. If its event is more important, the monitor interrupts the current behavior and handles the event.
Go to a discussion of this environment for multiple architectures.