ktmsg.cpp
来自「C写的小型操作系统源码」· C++ 代码 · 共 31 行
CPP
31 行
//***********************************************************************/
// Author : Garry
// Original Date : 2004-07-05
// Module Name : ktmsg.cpp
// Module Funciton :
// This module countains kernal thread message
// implementation code.
// Last modified Author :
// Last modified Date :
// Last modified Content :
// 1.
// 2.
// Lines number :
//***********************************************************************/
#ifndef __STDAFX_H__
#include "StdAfx.h"
#endif
__THREAD_MSG_QUEUE::__THREAD_MSG_QUEUE()
{
LPVOID pStartAddress = NULL;
DWORD dwSize = 0L;
pStartAddress = (LPVOID)&this->ktmsg[0];
dwSize = sizeof(__KTHREAD_MSG) * MAX_KTHREAD_MSG_NUM;
MemZero(pStartAddress,dwSize);
this->dwCurrentMsgNum = 0L;
this->dwHeader = 0L;
this->dwTrial = 0L;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?