mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-08 08:33:39 +08:00
Made sys_arch_prot() interface more generic by returning sys_prot_t instead
of u32_t.
This commit is contained in:
@@ -110,8 +110,8 @@ void sys_mbox_fetch(sys_mbox_t mbox, void **msg);
|
|||||||
In some implementations they can provide a more light-weight protection
|
In some implementations they can provide a more light-weight protection
|
||||||
mechanism than using semaphores. Otherwise semaphores can be used for
|
mechanism than using semaphores. Otherwise semaphores can be used for
|
||||||
implementation */
|
implementation */
|
||||||
u32_t sys_arch_protect(void);
|
sys_prot_t sys_arch_protect(void);
|
||||||
void sys_arch_unprotect(u32_t pval);
|
void sys_arch_unprotect(sys_prot_t pval);
|
||||||
|
|
||||||
/* Thread functions. */
|
/* Thread functions. */
|
||||||
sys_thread_t sys_thread_new(void (* thread)(void *arg), void *arg);
|
sys_thread_t sys_thread_new(void (* thread)(void *arg), void *arg);
|
||||||
|
|||||||
Reference in New Issue
Block a user