-
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
-
minigui下载包文件,
minigui下载包文件,
minigui下载包文件,
minigui下载包文件, -MiniGUI download package, MiniGUI download package, MiniGUI download package,
- 2022-04-23 21:03:59下载
- 积分:1
-
有n个人围成一圈,顺序排号。从第一个人开始报数(从1到3报数),凡报到3的人退出
圈子,问最后留下的是原来第几号的那位。...
有n个人围成一圈,顺序排号。从第一个人开始报数(从1到3报数),凡报到3的人退出
圈子,问最后留下的是原来第几号的那位。
-Have n individuals form a circle, in that order排号. From the first person to start off (from the reported number of 1-3), who reported 3 people out of the circle, the final question left is the original issue of who the first few.
- 2022-08-16 22:53:17下载
- 积分:1
-
mini2440中cmos摄像头的驱动,不是v4l,而是字符型设备驱动
mini2440中cmos摄像头的驱动,不是v4l,而是字符型设备驱动-mini2440 drive in cmos camera, not v4l, but a character device driver
- 2022-07-25 10:59:10下载
- 积分:1
-
实战的linux socket编程
实战的linux socket编程--示例源码,很好的参考!推荐!-real linux socket programming-- source code examples, good reference! Recommended!
- 2022-04-16 17:30:15下载
- 积分:1
-
我的图书馆或资料库
我的图书馆或资料库-libraries or databases
- 2022-12-05 21:10:03下载
- 积分:1
-
输入和输出程序的例子
xml程序例子输入输出-xml examples of input and output procedures
- 2022-03-09 16:22:43下载
- 积分:1
-
比较全面的GUI编程,基本例程
比较全面的GUI编程,基本例程-more comprehensive GUI programming, the basic routines
- 2023-04-17 05:00:04下载
- 积分:1
-
MPEG参考笔记,其中很多信息在纸上
mpeg参考说明,里面好多论文资料,可以参考一下 MPEGA格式内容-mpeg reference note, which a lot of information on paper
- 2022-11-22 09:15:04下载
- 积分:1
-
一个例子程序,使用linux +gtk+gnome,主要功能是建立一个对话框,打印hello world,有详细的注释,如何编译以及怎样运行,是一个很好的学习上...
一个例子程序,使用linux +gtk+gnome,主要功能是建立一个对话框,打印hello world,有详细的注释,如何编译以及怎样运行,是一个很好的学习上手的例子程序。-An example, the use of linux+ Gtk+ Gnome, the main function is to create a dialog box, print hello world, has detailed notes on how to compile and how to run, is a good example of learning-to-use procedures.
- 2022-03-10 02:12:12下载
- 积分:1