-
multithreaded process as a multi
多线程程序作为一种多任务、并发的工作方式,有以下的优点:
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
- 2023-06-23 05:00:03下载
- 积分:1
-
YAFFS2 file system, LINUX2.6 kernel support YAFF2 file system, the command: sh p...
YAFFS2文件系统,LINUX2.6内核支持YAFF2文件系统,命令:sh patch-ker.sh c /-YAFFS2 file system, LINUX2.6 kernel support YAFF2 file system, the command: sh patch-ker.sh c/
- 2022-04-28 01:09:01下载
- 积分:1
-
自己编的linux下的网络监控程序源码,可以监视局域网上的数据包。...
自己编的linux下的网络监控程序源码,可以监视局域网上的数据包。-own series under linux network monitoring program source code, can monitor LAN data packets.
- 2022-02-24 22:08:11下载
- 积分:1
-
linux下针对IIS音频驱动分析资料,可用于IIS驱动的编写参考!
linux下针对IIS音频驱动分析资料,可用于IIS驱动的编写参考!-IIS audio driver for linux under analysis can be used for the preparation of reference IIS drive!
- 2022-03-26 03:08:04下载
- 积分:1
-
用最少的代码行数实现了traceroute的功能,在linux上测试通过
用最少的代码行数实现了traceroute的功能,在linux上测试通过-with the least number of lines of code to achieve a traceroute function, the test pass on linux
- 2022-03-24 20:02:13下载
- 积分:1
-
线程池 线程池
线程池 线程池-thread pool thread pool thread pool
- 2022-05-31 19:37:51下载
- 积分:1
-
嵌入式linux的摄像头驱动程序,补丁形式的
嵌入式linux的摄像头驱动程序,补丁形式的-Embedded Linux camera driver, patch form
- 2022-02-04 21:50:30下载
- 积分:1
-
清华大学-电子信息工程系-实验用ARM
清华大学-电子信息工程系-实验用ARM-linux-源代码-LED_ON篇-Tsinghua University- Electronic Information Engineering- experiment with ARM-linux-source code-LED_ON articles
- 2022-03-22 06:29:04下载
- 积分:1
-
linux编程指南源代码
适于Linux下C++的初学者
linux编程指南源代码
适于Linux下C++的初学者
-linux Programming Guide is suitable for Linux source code under the C++ beginner
- 2022-03-04 02:36:35下载
- 积分:1
-
Linux Wireless LAN Project 的目标是开发一个完整的,基于标准的无线 LAN系统,这个系统用的是GNU/Linux 操作系统。把这个项目...
Linux Wireless LAN Project 的目标是开发一个完整的,基于标准的无线 LAN系统,这个系统用的是GNU/Linux 操作系统。把这个项目同Linux 无线扩展和其它 Linux无线项目区分开的是,它完全基于 IEEE 802.11标准。-Linux Wireless LAN Project"s goal is to develop a comprehensive, standards-based wireless LAN system, the system is using GNU/Linux operating system. The item with Linux wireless expansion and other wireless Linux projects are separate, it is fully based on the IEEE 802.11 standards.
- 2022-11-25 00:10:03下载
- 积分:1