GithubHelp home page GithubHelp logo

ctrl_os's Introduction

Ctrl_OS

一个事件触发的精简嵌入式操作系统


时间片轮询调度(TimeSchedule)

TimeSchedule 是基于时间片运行的一个简单调度器实现。 支持单次任务,周期任务的创建和删除。

  1. PollSchedule 针对通用轮询结构(DAS),进行任务注册和调度
  1. 基于x86 汇编进行上下文切换,实现协程
  2. 基于协程实现生产者消费者,无需考虑同步问题
  1. 使用协程的实现的非抢占式任务调度器
  2. 调度器不主动进行任务抢占,由任务代码进行yeild,调度器进行resume
  1. 使用订阅发布模式,不同任务之间可订阅消息

版本日志

  1. V0.0.1 2021/02/28 添加时间片轮询(TimeSchedule)
  2. V0.0.2 2021/03/02 添加通用轮询处理架构(PollSchedule)
  3. V0.0.3 2021/03/18 协程,生产者消费者模型(coroutine)
  4. V0.0.4 2021/03/23 任务调度
  5. V0.0.4 2021/03/24 事件调度

我开通微信公众号啦,可在公众号查看更多文章更新哟~ 排版也更好看😎,欢迎大家关注 CSDN博客:非典型技术宅 个人公众号: 非典型技术宅

ctrl_os's People

Contributors

gary-hobson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.