Giter VIP home page Giter VIP logo

cdrrrwinthread's Introduction

CDrrrWinThread

前言

目前,因为一个小项目的原因重新使用MFC,但是我发现对于线程的封装MFC比较弱,它的目的似乎是在UI线程上,而不是工作线程。因此,我只能重复造轮子。目标是想实现一个快速的工程线程类Task,然后派生出一个Check类。

目标

  • Task类:CTaskThread,一次性的执行任务,线性,重载虚函数Run即可完成,可以随时检查线程状态。
  • Check类:CCheckThread,派生子CTaskThread,用于执行检查任务,循环执行。重载虚函数ThreadBody()即可完成。另外有InitialThread()用于线程开始前申请资源,Cleanup()用于线程结束前清场。 2017年1月26日前提交0.1版本

cdrrrwinthread's People

Contributors

darkread avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.