Begin Athapascan-0 startup.
a0tError a0Init( | | | |
| int | *argcp, | |
| char | *(*argvp)[] );
| |
Name | rd/wr | Description |
argcp | write | Pointer to C main program arguments counter . |
argvp | write | Pointer to C main program arguments table pointer. |
This function begins the startup phase of an Athapascan-0 parallel program. It starts all the Athapascan-0 modules --- all the initial tables are filled and all the servers are started. This function must be called before any other Athapascan-0 functions. All program static objects such as services, synchronisation objects, etc.. must be declared between this call and the call to a0InitCommit(). Thread creation and synchronisation are not allowed in the startup phase.
The arguments used by Athapascan-0 and its lower levels are extracted from the argvp table.
Error Code | Description |
A0Err...Some error occurred. | |
A0ErrOkSuccessful completion. | |
a0InitCommit() a0Terminate() a0Abort()