摘要
介绍了在Linux下利用Select和Fcntl系统调用实现异步通信程序的两种方法 ,并给出了实现框架。通过对两种实现方法进行比较 ,进一步说明了为提高CPU的使用效率 ,编写Linux异步通信程序应采取的正确方法。
This paper gives two implementation methods of Client/Server's asynchronous communication program by using select and fcntl system calling and its flow chart on Linux,and further explains to have to use properly a method in order to improve CPU's efficiency by comparing the select method with the fcntl method.
出处
《计算机应用研究》
CSCD
北大核心
2002年第11期112-114,共3页
Application Research of Computers