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

📄 idlethread.cpp

📁 wince6.0平台上的任务管理器,功能类似于windows的任务管理器. In order to develop applications for Windows Mobile 6.x from
💻 CPP
字号:

#include "stdafx.h"
#include "Threads\IdleThread.h"

namespace Threads
{

    IdleThread::~IdleThread()
    {
        this->Stop();
    }

    void IdleThread::Run()
    {
        SetThreadPriority(THREAD_PRIORITY_IDLE);

        // This thread will go in a busy loop at the lowest possible priority
        // consuming all free cpu power
        while (!this->IsStopped())
        {
        }
    }

} // namespace Threads

⌨️ 快捷键说明

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