REX -real time executive OS API

作为一个简单的可剥夺,实时操作系统, REX仅有24个API, 真是精练:

   rex_init( )

rex_def_task()

rex_set_sigs()

rex_clr_sigs()

rex_get_sigs()

rex_wait()

rex_def_timer()

rex_set_timer()

rex_get_timer()

rex_clr_timer()

rex_pause_timer()

rex_resume_timer()

rex_tick()

rex_timed_wait()

rex_self()

rex_get_pri()

rex_set_pri()

rex_task_pri()

rex_set_interrupt_vector()

rex_enable_interrupt()

rex_disable_interrupt()

rex_init_crit_sect()(notavailablewitholderversions)

rex_enter_crit_sect()(notavailablewitholderversions)

   rex_leave_crit_sect( ) (not available with older versions)

转自:http://blog.csdn.net/highoman/article/details/6300341

相关推荐