-
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 example for the dynamic display images
qt 的例子,用于动态显示图象-qt example for the dynamic display images
- 2022-05-20 23:04:33下载
- 积分:1
-
LINUX内核中实现“回收站”。
LINUX内核中实现“回收站”。-Linux kernel to achieve "Recycling."
- 2022-04-09 13:22:19下载
- 积分:1
-
This is a linux under the Shell. An order history and the command prompt to make...
这是一个linux下的Shell.有命令历史和命令提示,补全功能。现在还不能编程。我会在12月底完成简单的编程功能。-This is a linux under the Shell. An order history and the command prompt to make up fully functional. It was not programmed. I will be completed by the end of December in a simple programming function.
- 2022-03-10 06:34:35下载
- 积分:1
-
事情在UDP。即使手表不明白。这些基础…
关于UDP方面的东西。。看不懂就算了。不适合基础者。-Of things on the UDP. . Even if the watch did not understand. The basis of those who are not suitable.
- 2022-05-19 09:40:37下载
- 积分:1
-
Web URL 解析程序客户端
Web URL 解析程序客户端-Web URL analytic procedures client
- 2023-04-22 11:55:03下载
- 积分:1
-
S3C2410 under linux the I2C bus driver
linux下S3C2410的I2C总线的驱动-S3C2410 under linux the I2C bus driver
- 2023-05-29 05:10:03下载
- 积分:1
-
很好的源代码,真的。
很好的源代码,真的。-good source code, really.
- 2022-02-15 17:02:28下载
- 积分:1
-
读共享内存的c语言程序
读共享内存的c语言程序-Reading shared memory c Language Program
- 2022-06-11 16:39:34下载
- 积分:1
-
ZLG
ZLG-GUI源代码完整版12-GUI_CONFIG.c-ZLG-GUI source code full version of 12-GUI_CONFIG.c
- 2022-01-27 13:48:30下载
- 积分:1