⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 def_sched.h

📁 小型操作系统,以VC为开发环境,需要boachs调试
💻 H
字号:
/***************************************************************************
**     File name   : def_sched.h
**     Author      : 
**     Create date :
**
**	   Comment:
**        Headers for the scheduler. 
**
**     Revisions:
**     $Log: def_sched.h,v $
**     Revision 1.1.1.1  2005/07/27 06:53:15  x.cheng
**     add into repositories
**
**     Revision 1.1  2005/07/03 13:15:07  x.cheng
**     Initial revision
**
**
***************************************************************************/
#ifndef __DEF_SCHED_H__
#define __DEF_SCHED_H__


#define LOW_PRIORITY		( 0 )		//! Minimum priority level.
#define HIGH_PRIORITY		( -16 )		//! Maximum priority level.
#define RT_LOW_PRIORITY		( -64 )		//! Low priority level for real-time tasks.
#define RT_HIGH_PRIORITY	( -128 )	//! High priority level for real-time tasks.
 
/******function prototype*****************/
inline void vScheduleEnterCritialRegion(void);
inline void vScheduleLeaveCriticalRegion(void);
inline int iScheduleIsDisable( void ); 

void vMt3RefreshQueues();
void vMt3Schedule();

#endif /* end of  __DEF_SCHED_H__ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -