-
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
-
获取文件连接池的数目(程控使用)
获取文件连接池的数目(程控使用)-access to documents the number of connection pool (programmed use)
- 2023-08-30 14:10:03下载
- 积分:1
-
模式2.1
Motif 2.1 - Programmer s Reference, Volume 1-Motif 2.1- Programmer s Reference, Volume 1
- 2022-03-22 20:21:33下载
- 积分:1
-
Linux操作系统内存磁盘初始化技术详细解析
Linux操作系统内存磁盘初始化技术详细解析-Linux Fuzeng brazing department conduct anti twitter Jian TONG Zhao summarized its original site captured术lowly agate细Pleiades
- 2022-06-01 22:08:01下载
- 积分:1
-
hfa3841,hfa3842无线局域网Linux驱动源代码
这是基于hfa3841、hfa3842的无线网卡linux驱动程序源代码-hfa3841, hfa3842 wireless LAN linux driver source code
- 2022-06-02 12:37:52下载
- 积分:1
-
给予GTK开发的调试工具,能够通过图形界面使用both调试。
给予GTK开发的调试工具,能够通过图形界面使用both调试。-Give GTK development debugging tools, graphical interface through the use of both debugging.
- 2022-04-08 21:07:36下载
- 积分:1
-
Exercises
linux下操作系统习题-Exercises
- 2023-06-11 09:55:08下载
- 积分:1
-
这是一个简单的模拟银行存取款的例子,目的是了解如何开发RPC服务程序.代码在LINUX下测试运行通过...
这是一个简单的模拟银行存取款的例子,目的是了解如何开发RPC服务程序.代码在LINUX下测试运行通过-This is a simple bank deposit simulation example, purpose is to understand how to develop RPC service procedures. the code in the Linux operating through testing
- 2022-02-04 02:51:55下载
- 积分:1
-
友善之臂SBC
友善之臂SBC-2410X开发板所使用的测试程序包,含源代码,很有参考价值!-A friendly arm of SBC-2410X development board used in the test package, including source code, a good reference!
- 2022-06-03 11:18:30下载
- 积分:1
-
台湾上尚公司linux嵌入式服务器平台键盘操作源码
台湾上尚公司linux嵌入式服务器平台键盘操作源码-Taiwan still on the company Embedded Linux server platform keyboard FOSS
- 2022-04-08 22:44:57下载
- 积分:1