Polybench® Reference
Exits the program.

EXIT

Overview

The EXIT Action closes the current project and exits Polybench. If the current project is not saved, the user is warned to save the project. Otherwise, the application is exited without warning.

An Action may use a Value and an Address
Value: empty.
Address: empty.

Details

As soon as the EXIT action is being executed by Polybench, all subsequent actions are dismissed. For example, if you would call EXIT in an action sequence, and after EXIT more actions are called, then the actions after EXIT will not be executed.

If there are still actions that are being executed, then those are finished before EXIT is really processed. This is important, for example if you were just printing a page. In that case the EXIT will wait until printing is ready.

Synchronous or asynchronous

This action is performed asynchronously with data processing. If an action is asynchronous, it is performed only after all synchronous actions in a sequence have been called. A synchronous action is performed immediately.