Home
last modified time | relevance | path

Searched refs:lwprot_thread (Results 1 - 2 of 2) sorted by relevance

/kernel/liteos_a/net/lwip-2.1/porting/src/
H A Dsys_arch.c45 static u32_t lwprot_thread = LOS_ERRNO_TSK_ID_INVALID; variable
112 if (lwprot_thread != LOS_CurTaskIDGet()) { in sys_arch_protect()
116 lwprot_thread = LOS_CurTaskIDGet(); in sys_arch_protect()
132 if (lwprot_thread == LOS_CurTaskIDGet()) { in sys_arch_unprotect()
135 lwprot_thread = LOS_ERRNO_TSK_ID_INVALID; in sys_arch_unprotect()
/kernel/liteos_m/components/net/lwip-2.1/porting/src/
H A Dsys_arch.c47 static u32_t lwprot_thread = LOS_ERRNO_TSK_ID_INVALID; variable
109 if (lwprot_thread != LOS_CurTaskIDGet()) { in sys_arch_protect()
113 lwprot_thread = LOS_CurTaskIDGet(); in sys_arch_protect()
129 if (lwprot_thread == LOS_CurTaskIDGet()) { in sys_arch_unprotect()
132 lwprot_thread = LOS_ERRNO_TSK_ID_INVALID; in sys_arch_unprotect()

Completed in 2 milliseconds