-
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
-
一个关于qt的小测试,有需要入门qt的可以下载下来玩一玩
一个关于qt的小测试,有需要入门qt的可以下载下来玩一玩-a test of qt
- 2022-12-11 21:00:04下载
- 积分:1
-
不错的文档。希望大家喜欢
不错的文档。希望大家喜欢-good documentation. Hope you like
- 2022-02-03 06:09:17下载
- 积分:1
-
正则表达式源代码,用于对字符串的处理,如电话号码的识别等...
正则表达式源代码,用于对字符串的处理,如电话号码的识别等-regular expression source code for the string processing, such as telephone numbers and other identification
- 2022-01-26 01:01:30下载
- 积分:1
-
该材料可特别用于初学linux基础教程,可在短时间内学会linux
该材料可特别用于初学linux基础教程,可在短时间内学会linux-study
- 2023-03-13 22:45:04下载
- 积分:1
-
在Linux环境下播放器mplayer的源
在Linux环境下的Mplayer播放器源码-In the Linux environment player Mplayer source
- 2022-02-20 13:39:54下载
- 积分:1
-
一个小小的c语言编程
一个小小的c语言编程-a small c programming language
- 2023-07-22 03:25:03下载
- 积分:1
-
本书详细地介绍了Linux下一些主要函数的功能,对Linux内核编程人员具有很好的参考价值。...
本书详细地介绍了Linux下一些主要函数的功能,对Linux内核编程人员具有很好的参考价值。-the book described in detail some of the major Linux of functionality, the Linux kernel programming staff with a good reference value.
- 2022-03-02 03:46:56下载
- 积分:1
-
uva trilearn的robocup源程序
uva trilearn的robocup源程序-uva trilearn source of robocup
- 2022-06-30 23:02:17下载
- 积分:1
-
是经典的UNIX的部分源代码,可以给想深入学习程序的人很好的参考。...
是经典的UNIX的部分源代码,可以给想深入学习程序的人很好的参考。-are classic UNIX source code, can give depth to the learning process were good reference.
- 2022-04-07 16:39:36下载
- 积分:1