#include "base_api.h" | |
#if MS_OS_CRITICAL_SECTION_SUPPORT > 0 | |
int os_enter_critical_section_sem(NU_SEMAPHORE *sem); | |
int os_leave_critical_section_sem(NU_SEMAPHORE *sem); | |
int os_sem_is_custom_style(OPTION sema_style); | |
int os_sem_is_custom(NU_SEMAPHORE *sem_p); | |
VOID os_sem_set_custom(NU_SEMAPHORE *sem, OPTION sema_style); | |
UINT32 os_sem_create_custom( | |
NU_SEMAPHORE *sem_p, | |
const char *name, | |
int i, | |
OPTION sema_style); | |
STATUS os_sem_kill_custom(NU_SEMAPHORE *sem_p); | |
// P98C-YXS VOID os_sem_preset_crit_sect(NU_SEMAPHORE *sem, NU_TASK task_ptr); | |
#endif |