my english document for threadx
来源:互联网 发布:房地产大数据 走势 编辑:程序博客网 时间:2024/06/15 15:11
threadX is a real-time OS.it is featured with small code scale,high reliability and easy to use.
In last article, I have mentioned freeRtos which is also a real time os. then what is the difference between threadX and freeRTOS?
1.the system status
threadX has five system status:
1).execution : when a thread is in execution status indicates it occupies the CPU while only one thread can occupy cpu at one time.
2).suspend: when a thread is suspend .it means the thread will never occupied CPU again until it get the source it wait for or another thread open it.
3).ready : when a thread is ready .that means the thread is located in a waiting queue where the CPU will choose one to execute after the CPU finished the current execution thread.
4).terminal:when a thread is terminaled by itself or other thread.it will never be execute untill the thread is delete then reinit .
5).complete: a thread is only complete by itself and has the same condition to execute with terminal.
2.the communicaiton between threads
1)semphore:which can function as a flag whatever the value is to triger a event handler or a protection mechinism to protect system source.
2)event flags:
3)queue:it can transfer spefic message from one thread to another. we care most what the message is.
4)mutex:it is also
- my english document for threadx
- english learning for my little girl
- My note for reading English reference
- My English
- English Contest -- My English History
- A document for my learning journey in Python
- About English URL document
- My simple english resume
- My First English Thread
- My first English dairy
- My English Resume
- my english name:Kathy
- my english dream
- My new English
- My first English speech
- My second English speech
- My experience of learning English
- Improve my written English skill
- eclipse 安装 svn findbugs
- 我要搬家
- 浅谈Oracle VM VirtualBox虚拟机的网络配置
- ollydbg和IDA,HIEW的简单结合
- C++标准库find简单用法
- my english document for threadx
- .NET 泛型
- 对container_of(ptr,type,member)分析
- 如何成为一名黑客
- Linux学习-账户相关命令
- ???
- onvif开发:使用wsdl2h和soap2cpp生成开发文件
- 探索并发编程(三)------Java存储模型和共享对象
- 为什么说在持有自旋锁时不能进入睡眠或阻塞