📄 cxprvr.c
字号:
/*********************************************************
Copyright (c) CMX Company. 1999. All rights reserved
*********************************************************/
/* version 5.30 */
#define CMXMODULE 1
#include <cxfuncs.h> /* get cmx include header file */
#include <cxextern.h> /* get cmx include header file */
#ifdef CMXTRACKER
#include <cmxtrack.h> /* get cmx include header file */
#endif
/*****************************************************************
!!! WARNING: the CMX timer task will not run !!!!
The CMX timer task will not be executed, nor the interrupt pipe
if this function is called. The task that called this function should
release it, by using the K_Task_Unlock function as soon as possible.
In most cases this function should NOT be used. Improper use is
abuse. Also the task that calls this function, MUST NOT call any
function that may suspend this task
*****************************************************************/
void K_Task_Lock(void)
{
/* set the task lock flag. This will stop the K_I_Scheduler
from re-scheduling, until the K_Task_Unlock function is called */
K_I_Disable_Sched();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -