a0Terminate()

Athapascan-0 termination.


Syntax

a0tError a0Terminate( void );

Description

This function terminates all the threads of Athapascan-0. It must be called in all nodes. A parallel barrier is done before exiting to verify that all nodes have executed the function. No Athapascan-0 functions can be used after the call of this function. This function may also terminate the parallel program, so it must be the last useful function called by every node.


Return Values

If an error condition occurs, it returns the error code, otherwise it returns A0ErrOk. Possible values are as follows:
Error CodeDescription
A0Err...Some error occurred.
A0ErrOkSuccessful completion.

See Also

a0Init() a0Abort()