使用Protothreads设计嵌入式多任务程序,使用Protothreads设计嵌入式多任务程序,使用Protothreads设计嵌入式多任务程序
2022-02-23 11:27:45 227KB Protothreads
1
硬件平台stm32f103vet6,使用protothreads做成的一个模拟的线程而已,测试程序,一个定时输出,注意,测试程序,只用作演示而已。
2022-02-23 11:08:01 1.57MB stm32
1
最新版protothreads轻量级OS,值得下载
2021-10-18 21:00:51 258KB protothreadsos os 轻量级OS protothreads
1
使用protothreads库,进行多线程调度的demo
2021-08-31 18:09:29 248KB arduino protothreads 多线程
Protothreads是一种针对C语言封装后的宏函数库,为C语言模拟了一种无堆栈的轻量线程环境,能够实现模拟线程的条件阻塞、信号量操作等操作系统中特有的机制,从而使程序实现多线程操作。每个Protothreads线程仅增加10行代码和2字节RAM的额外硬件资源消耗。对于资源紧缺而不能移植嵌入式操作系统的嵌入式系统,使用Protothreads能够方便直观地设计多任务程序,能够实现用线性程序结构处理事件驱动型程序和状态机程序,简化了该类程序的设计
2021-04-08 14:06:35 435KB 轻量级线程库
1