This article analyzes three methods of realizing serial communication program automation, including software polling, communication event and multithread in details.
详细分析了实现串行通讯程序自动化的三种方法:软件查询、通讯事件和多线程。
2
For example, polling, billing, and logger functions must be invoked before the actual program begins.
例如投票、支付和登录函数必须在实际种程序启动前运行。
3
This can be useful when polling a serial port for data, as your program can determine the number of bytes in the input buffer before attempting a read.