Time Management Functions

These functions are fully supported in this release:

ER set_tim( 
    SYSTIME *pk_tim )

Caution

Setting the time may cause erroneous operation of the kernel, for example a task performing a wait with a time-out may never awaken.

ER get_tim( 
    SYSTIME *pk_tim )
ER dly_tsk( 
    DLYTIME dlytim )
ER def_cyc( 
    HNO cycno,    T_DCYC *pk_dcyc )
ER act_cyc( 
    HNO cycno,    UINT cycact )
ER ref_cyc( 
    T_RCYC *pk_rcyc,    HNO cycno )
ER def_alm( 
    HNO almno,    T_DALM *pk_dalm )
ER ref_alm( 
    T_RALM *pk_ralm,    HNO almno )
void ret_tmr( void )

Error checking

The following conditions are only checked for, and only return errors if CYGSEM_UITRON_BAD_PARAMS_RETURN_ERRORS is enabled:

The following conditions are checked for, and can return error codes, regardless of the setting of CYGSEM_UITRON_BAD_PARAMS_RETURN_ERRORS :