Home
last modified time | relevance | path

Searched refs:g_losTaskLock (Results 1 – 7 of 7) sorted by relevance

/kernel/liteos_m/kernel/src/
Dlos_task.c102 LITE_OS_SEC_BSS UINT16 g_losTaskLock; variable
943 if ((tempStatus & OS_TASK_STATUS_RUNNING) && (g_losTaskLock != 0)) { in LOS_TaskSuspend()
1019 if (g_losTaskLock != 0) { in LOS_TaskJoin()
1136 if (((taskCB->taskStatus) & OS_TASK_STATUS_RUNNING) && (g_losTaskLock != 0)) { in LOS_TaskDelete()
1138 g_losTaskLock = 0; in LOS_TaskDelete()
1194 if (g_losTaskLock != 0) { in LOS_TaskDelay()
1321 g_losTaskLock++; in LOS_TaskLock()
1337 if (g_losTaskLock > 0) { in LOS_TaskUnlock()
1338 g_losTaskLock--; in LOS_TaskUnlock()
1339 if (g_losTaskLock == 0) { in LOS_TaskUnlock()
Dlos_event.c123 if (g_losTaskLock) { in LOS_EventRead()
Dlos_sem.c200 if (g_losTaskLock) { in OsSemValidCheck()
Dlos_mux.c175 if (g_losTaskLock) { in OsMuxValidCheck()
Dlos_queue.c402 if (g_losTaskLock) { in OsQueueOperate()
/kernel/liteos_m/kernel/include/
Dlos_task.h1562 extern UINT16 g_losTaskLock;
1568 #define LOS_CHECK_SCHEDULE (!g_losTaskLock)
/kernel/liteos_m/kal/cmsis/
Dcmsis_liteos2.c126 } else if (g_losTaskLock > 0) { in osKernelGetState()
162 if (g_losTaskLock > 0) { in osKernelLock()
184 if (g_losTaskLock > 0) { in osKernelUnlock()
186 if (g_losTaskLock != 0) { in osKernelUnlock()
210 if (g_losTaskLock != 0) { in osKernelRestoreLock()