文件名称:threadcom
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- m***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
(1)接收键盘输入线程
负责接收用户的键盘输入,并以适当的方式将由键盘获得的数据交给其它线程处理。
(2)显示线程
负责全部数据显示任务,包括键盘输入数据的显示和提示信息的显示。
(3)分发数据线程
将键盘输入的数据分为3类,即字母、数字和其它,并分别将字母写入文件letter.txt
中,数字写入文件numbet.txt中,除字母和数字外其它数据丢弃。-(1) to receive keyboard input thread is responsible for receiving the user' s keyboard input, and in an appropriate manner the data obtained by the keyboard to the other thread. (2) shows the task thread is responsible for all data, including data display and keyboard input message is displayed. (3) The distribution of the data the thread will be the keyboard input data into 3 categories, namely letters, numbers, and other, and the letters were written to the file letter.txt, the number written to the file numbet.txt, in addition to other letters and figures, data discarded.
负责接收用户的键盘输入,并以适当的方式将由键盘获得的数据交给其它线程处理。
(2)显示线程
负责全部数据显示任务,包括键盘输入数据的显示和提示信息的显示。
(3)分发数据线程
将键盘输入的数据分为3类,即字母、数字和其它,并分别将字母写入文件letter.txt
中,数字写入文件numbet.txt中,除字母和数字外其它数据丢弃。-(1) to receive keyboard input thread is responsible for receiving the user' s keyboard input, and in an appropriate manner the data obtained by the keyboard to the other thread. (2) shows the task thread is responsible for all data, including data display and keyboard input message is displayed. (3) The distribution of the data the thread will be the keyboard input data into 3 categories, namely letters, numbers, and other, and the letters were written to the file letter.txt, the number written to the file numbet.txt, in addition to other letters and figures, data discarded.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
threadcom.c