void | Relinquish (int nslots) |
int | Status (void) |
Defines | |
#define | PHAL_STATUS_INIT 2 |
#define | PHAL_STATUS_RUN 3 |
#define | PHAL_STATUS_PAUSE 4 |
#define | PHAL_STATUS_STOP 6 |
#define PHAL_STATUS_INIT 2 |
#define PHAL_STATUS_PAUSE 4 |
#define PHAL_STATUS_RUN 3 |
#define PHAL_STATUS_STOP 6 |
void Relinquish | ( | int | nslots | ) |
Relinquish Function.
Realeases the CPU ownership of the object. Object goes sleep until the beggining of the next time slot. This function must be called on every object's execution cycle (see ALOE Manual)
nslots | Number of slots to sleep (default 1) |
int Status | ( | void | ) |
Get Status.
Get current object status. This function does not return until object has something to do, that is, status is RUN or the first INIT or CLOSE.