blob: bab28eb758fa5b61b50395a9f75880167e3fd9dc [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#include "base_api.h"
2
3#if MS_OS_CRITICAL_SECTION_SUPPORT > 0
4
5int os_enter_critical_section_sem(NU_SEMAPHORE *sem);
6
7int os_leave_critical_section_sem(NU_SEMAPHORE *sem);
8
9int os_sem_is_custom_style(OPTION sema_style);
10
11int os_sem_is_custom(NU_SEMAPHORE *sem_p);
12
13VOID os_sem_set_custom(NU_SEMAPHORE *sem, OPTION sema_style);
14
15UINT32 os_sem_create_custom(
16 NU_SEMAPHORE *sem_p,
17 const char *name,
18 int i,
19 OPTION sema_style);
20
21STATUS os_sem_kill_custom(NU_SEMAPHORE *sem_p);
22
23
24// P98C-YXS VOID os_sem_preset_crit_sect(NU_SEMAPHORE *sem, NU_TASK task_ptr);
25#endif