关键字  
 文件名称: pthread_examples.tar多线程程序作为一种多任务、并发的工作方式,有以下的优点:

  1) 提高应用程序响下载  收藏√  我顶↑
  所属分类: Linux-Unix program
  开发工具: Unix_Linux
  文件大小: 2 KB
  上传时间: 2006-07-24
  下载次数: 23
  提 供 者: 李强
 详细说明:多线程程序作为一种多任务、并发的工作方式,有以下的优点:   1) 提高应用程序响应。这对图形界面的程序尤其有意义,当一个操作耗时很长时,整个系统都会等待这个操作,此时程序不会响应键盘、鼠标、菜单的操作,而使用多线程技术,将耗时长的操作(time consuming)置于一个新的线程,可以避免这种尴尬的情况。   2) 使多CPU系统更加有效。操作系统会保证当线程数不大于CPU数目时,不同的线程运行于不同的CPU上。   3) 改善程序结构。一个既长又复杂的进程可以考虑分为多个线程,成为几个独立或半独立的运行部分,这样的程序会利于理解和修改。 -multithreaded process as a multi-task, complicated by the way, has the following advantages : 1) improve application response. This graphical interface is especially meaningful, when a very long time-consuming operation, the entire system will wait for the operation, this procedure will not respond to keyboard, mouse, the menu of operations, and the use of multithreading technology, long will be time-consuming operation (time consuming) under a new thread, avoided this embarrassing situation. 2) multi-CPU system more effective. When the operating system would ensure that not more than a few threads CPU number of different threads running on different CPUs. 3) to improve program structure. A long and complex process can be divided into consideration a number of threads, into several indepen
 近期下载过的用户:  a wangjian [查看上载者李强的更多信息]
 输入关键字,在本站46万海量源码库中尽情搜索:  帮助
 [work_queue_thread.rar] - 实现了一个多线程工作组应用程序,此程序中使用了互斥对象,条件变量进行线程的控制。通过研究此程序,可以深刻理解线程的工作机理。
 [7_code.rar] - linux多线程编程的例程,其中包括管道,多线程等
 [MultithreadSerialTest.rar] - 多线程的,事件触发的串口测试软件.支持16进制,ASCII码.可加多种校验码
 
 [Programming with Pthreads.tar.gz] - linux 多线程例子
 [UWB01.rar] - 超宽带的概念、技术、应用和发展。清华前沿课程,精品中的精品。
 [3G_HUAWEI.rar] - 华为的内部有关3G的资料!很全面,很基础!
 [scosrc.zip] - sco unix 前台界面开发程序,采用UNIX中的词法分析器和语法分析器,可以快速产生前台界面,无需数据库支持。
 [pos_system_linux.rar] - 一个简单的pos机程序,在Linux上用QT开发,连SQLite数据库,与大家共享。
 [khxf.rar] - unix下的编程,包含各种输入输出,界面,菜单,计算,转换等等函数
 [189745socket+pool.rar] - 线程池+socket,非常好的服务器端源代码,可以很深入的学习线程池技术
文件列表(点击判断是否您需要的文件):
  3971013pthread_examples.tar