ZThread 源代码
zthread是一款专为嵌入式系统设计的轻量级多线程库,以其高效稳定、易于集成的特点,在物联网设备、智能家居及工业自动化领域得到广泛应用。支持多种RTOS平台,帮助开发者轻松实现复杂任务调度与管理。掌握zthread技术不仅能够提升项目开发效率,还能增强系统的可靠性和响应速度。立…
#ifndef WORKTHREAD_H_ #define WORKTHREAD_H_ #include #include #include "socket++/sockinet.h" #include "zthread/Thread.h" #incl…
//: C11:TQueue.h #ifndef TQUEUE_H #define TQUEUE_H #include #include "zthread/Thread.h" #include "zthread/Condition.h" #include "…
//: C11:TimedLocking.cpp // Limited time locking. //{L} ZThread #include "zthread/Thread.h" #include "zthread/Mutex.h" #inclu…
//: C11:Display.h // Prevents ostream collisions #ifndef DISPLAY_H #define DISPLAY_H #include "zthread/Mutex.h" #include "zth…
//: C11:MutexEvenGenerator.cpp // Preventing thread collisions with mutexes. //{L} ZThread #include "EvenChecker.h" #include "…
//: C11:TemporaryUnlocking.cpp // Temporarily unlocking another guard. //{L} ZThread #include "zthread/Thread.h" #include "zth…
//: C11:EvenChecker.h #ifndef EVENCHECKER_H #define EVENCHECKER_H #include "zthread/CountedPtr.h" #include "zthread/Thread.h" …