...统 硬实时系统 嵌入式实时系统分类 嵌入式实时系统分类 按软件结构来分嵌入式实时系统 – 单线程程序(Single-threaded program) (1)循环轮询系统(Polling Loop) (2)有限状态机(Finit State Machine) – 事件驱动系统:(Event-Driven system) (1)前后台...
基于16个网页-相关网页
This implementation is fine for a single-threaded program.
这个实现适合于单线程程序。
If this code were in a single-threaded program we'd expect the thread_function code to execute in its entirety.
如果代码是位于单线程程序中,可以预期thread_function代码将完整执行。
A thread is an encapsulation of the flow of control in a program. you might be used to writing single-threaded programs - that is, programs that only execute one path through their code "at a time".
线程是程序中的控制流程的封装。你可能已经习惯于写单线程程序,也就是,程序在它们的代码中一次只在一条路中执行。
应用推荐