|
ET System
16.5
|
These routines are called by a programmer wishing to create or destroy an ET system. More...
Functions | |
| int | et_system_start (et_sys_id *id, et_sysconfig sconfig) |
| This routine creates an ET system. More... | |
| int | et_system_close (et_sys_id id) |
| This routine closes or shuts down an ET system. More... | |
These routines are called by a programmer wishing to create or destroy an ET system.
| int et_system_close | ( | et_sys_id | id | ) |
This routine closes or shuts down an ET system.
| id | ET system id. |
References et_id_t::debug, ET_DEBUG_ERROR, ET_ERROR, et_logmsg(), ET_SYS, et_id_t::grandcentral, and et_id_t::proc.
| int et_system_start | ( | et_sys_id * | id, |
| et_sysconfig | sconfig | ||
| ) |
This routine creates an ET system.
The process that executes this routine becomes the ET system process. A good example of its use is in the et_start.c file.
| id | pointer to ET system id - a value-result argument - in which is returned the id of the new system which gets created. |
| sconfig | desired configuration of the new ET system (set by routines starting with et_system_config_ ...). |
References et_id_t::debug, err_abort, et_id_t::esize, ET_DEBUG_ERROR, et_id_init(), ET_IS_ALIVE_NSEC, ET_IS_ALIVE_SEC, and et_id_t::nevents.