Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - Make
Search - Make - List
多线程是一个功能强大的工具,我们可以在每次需要执行长时间运行的任务时使用该工具。我们可以用它运行辅助代码,而无需绑定用户界面。但同时要注意,多线程操作非常复杂,要正确操作并不容易,而且调试起来也比较困难。 尽管不一定能够实现,但我们还是应该尽量为每个辅助线程提供一组它可以操作的独立数据。要达到这个目的,最简单的方法就是为每个线程创建一个对象,对象中包含该线程可以操作的数据以及完成工作所需的代码。 通过实现结构化的架构,使之充当辅助线程和 UI 线程之间的媒介,我们可以大大简化编写多线程代码和 UI 以对其进行控制的过程。本文就介绍了这样一个架构,您可以根据需要使用或进行调整,以满足特定的应用需要。(附有详细的中文说明)-Multithreading is a powerful tool, we can each time the need to implement the mandate of running the use of this tool. We can use it for running auxiliary code, without the bundled user interface. It should be noted that multi-threaded operation is very complex to operate correctly is not easy, but it is also testing more difficult. Although not necessarily to achieve, but we should still try to provide every support threaded a group it can operate independent of data. To achieve this purpose, the simplest way is to create a thread for each object, object contains the thread can operate and the data necessary to complete the work of the code. Through the structure of the architecture to make it as supporting threads and UI thread between the media, we can greatly simplify the preparation o
Date : 2008-10-13 Size : 169.71kb User : 程崇刚

通过向Mode模块发送event来做状态迁移,Mode模块中有一个Matrix表,通过Matrix表来做出判断-through Mode modules make this event the movement Mode Module Matrix is a table through the Matrix to make a judgment Table
Date : 2008-10-13 Size : 740.63kb User : 刘明昭

封装win32和POSIX线程API。从而能够使得多线程程序能够方便在windows和linux平台移植。 压缩包中有两个文件:Thread.h和testMain.cpp。其中Thread.h是线程封装的实现,testMain.cpp是测试代码文件。 windows下使用VC7.0编译通过。Linux下用gcc3.2.3编译通过。 该版本只支持下列API: 线程创建,清除。 互斥量操作。 等待其他线程。-Packaging and POSIX threads API. In order to make multi-threaded processes to facilitate the Windows and Linux platforms. Compressed are two documents : Thread.h and testMain.cpp. Which is threaded Packaging Thread.h the realization testMain.cpp is testing the code document. Windows use VC7.0 compile. Linux use gcc3.2.3 compile. This version only supports the following API : threads created to remove. Exclusive volume operation. Wait for the other threads.
Date : 2008-10-13 Size : 2.62kb User : 曹京

一个用编程方法使计算机休眠的程序,可以加在计划任务里面达到定时休眠的功能。-a programming method used to make computer dormancy procedures can be added to the planned tasks to achieve timing dormant inside the function.
Date : 2008-10-13 Size : 22.69kb User : YAN LUO

用JAVA实现的手机炸弹的源码!采用多线程机制!请注意,本程序作为学习java.net.url包的一个范例,请勿用做非法用途! * 如将本程序用作非法用途,所引起的一切后果本人概不负责!珍爱生命,请勿以身试法!-using JAVA mobile source bomb! Multi-threading mechanism! Please note that this procedure as a learning java.net.url example of a packet, Do not used for illegal purposes. * If the procedures used for illegal purposes, caused by all the consequences I will not! Make life, not to defy the law!
Date : 2008-10-13 Size : 1.72kb User : 古刹飞鹰

该代码的主要功能是:使得两台电脑能够通过串口进行网络通信。-The code is the main function : to make two computers to the network through the serial communications.
Date : 2008-10-13 Size : 259.69kb User : amerwang

由于VB6中没有专门用于多线程的指令及功能,但通过API方式可用VB6作出多线程的方式在程序中使用。 -because VB6 is not specifically for multithreaded instructions and functions But through the API can be used to make VB6 multithreaded approach used in the proceedings.
Date : 2008-10-13 Size : 14.02kb User : wl

操作系统实验2:进程调度策略的模拟实现 1、 设计一个有 N个进程共行的进程调度程序。 2、 每个进程有一个进程控制块PCB来表示,进程控制块的格式为: 进程名 优先数 到达时间 需要运行时间 已占用CPU时间 进程状态 a) 进程优先数、需要运行时间、到达时间可以事先人为地指定,也可以随机产生,注意初始化上述数值时要尽量使进程并发执行,而不是按到达时间顺序调度。 b) 进程的运行时间以时间片为单位进行计算。 c) 进程状态分为就绪、运行、完成三种状态之,分别用W、R、F表示。 3、 进程调度规则如下: a) 就绪进程获得 CPU后都只能运行一个时间片。用已占用CPU时间加1来表示。 b) 如果运行一个时间片后,进程已占用 CPU时间达到所需要运行时间,则进程完成,撤销该进程。 c) 如果运行一个时间片后,进程已占用CPU时间还未达到所需要运行时间,即进程需要继续运行,将它插入就绪队列,队列重新排序,等待CPU。 d) 重复以上过程,直到所要进程都完成为止。 -two experimental operating system : the process of scheduling strategy to achieve a simulation. Design is a process of a total of N the process scheduler. 2, each process is a process control block to PCB said that the process control block format : process a few who arrived at the priority needs time to time running CPU time a state process) process priority number. need to run time, arriving in time prior to artificially designated, can also randomly generated, Initialization attention to the above values are to make the complicated process of implementation, and not by order of arrival time scheduling. B) the process of running time to time slice for calculation. C) process into a state of readiness, operations, completed three Status, W, R, F said. 3, the process of scheduling rules ar
Date : 2008-10-13 Size : 985byte User : qiuzhicheng

Mutex APIs Make multiple instance-aware programs
Date : 2008-10-13 Size : 2.94kb User : ccv

Mutex APIs Make multiple instance-aware programs
Date : 2025-12-16 Size : 3kb User :

多线程是一个功能强大的工具,我们可以在每次需要执行长时间运行的任务时使用该工具。我们可以用它运行辅助代码,而无需绑定用户界面。但同时要注意,多线程操作非常复杂,要正确操作并不容易,而且调试起来也比较困难。 尽管不一定能够实现,但我们还是应该尽量为每个辅助线程提供一组它可以操作的独立数据。要达到这个目的,最简单的方法就是为每个线程创建一个对象,对象中包含该线程可以操作的数据以及完成工作所需的代码。 通过实现结构化的架构,使之充当辅助线程和 UI 线程之间的媒介,我们可以大大简化编写多线程代码和 UI 以对其进行控制的过程。本文就介绍了这样一个架构,您可以根据需要使用或进行调整,以满足特定的应用需要。(附有详细的中文说明)-Multithreading is a powerful tool, we can each time the need to implement the mandate of running the use of this tool. We can use it for running auxiliary code, without the bundled user interface. It should be noted that multi-threaded operation is very complex to operate correctly is not easy, but it is also testing more difficult. Although not necessarily to achieve, but we should still try to provide every support threaded a group it can operate independent of data. To achieve this purpose, the simplest way is to create a thread for each object, object contains the thread can operate and the data necessary to complete the work of the code. Through the structure of the architecture to make it as supporting threads and UI thread between the media, we can greatly simplify the preparation o
Date : 2025-12-16 Size : 169kb User : 程崇刚

通过向Mode模块发送event来做状态迁移,Mode模块中有一个Matrix表,通过Matrix表来做出判断-through Mode modules make this event the movement Mode Module Matrix is a table through the Matrix to make a judgment Table
Date : 2025-12-16 Size : 2.13mb User :

一个用编程方法使计算机休眠的程序,可以加在计划任务里面达到定时休眠的功能。-a programming method used to make computer dormancy procedures can be added to the planned tasks to achieve timing dormant inside the function.
Date : 2025-12-16 Size : 27kb User : YAN LUO

用JAVA实现的手机炸弹的源码!采用多线程机制!请注意,本程序作为学习java.net.url包的一个范例,请勿用做非法用途! * 如将本程序用作非法用途,所引起的一切后果本人概不负责!珍爱生命,请勿以身试法!-using JAVA mobile source bomb! Multi-threading mechanism! Please note that this procedure as a learning java.net.url example of a packet, Do not used for illegal purposes.* If the procedures used for illegal purposes, caused by all the consequences I will not! Make life, not to defy the law!
Date : 2025-12-16 Size : 1kb User : 古刹飞鹰

该代码的主要功能是:使得两台电脑能够通过串口进行网络通信。-The code is the main function : to make two computers to the network through the serial communications.
Date : 2025-12-16 Size : 259kb User : amerwang

由于VB6中没有专门用于多线程的指令及功能,但通过API方式可用VB6作出多线程的方式在程序中使用。 -because VB6 is not specifically for multithreaded instructions and functions But through the API can be used to make VB6 multithreaded approach used in the proceedings.
Date : 2025-12-16 Size : 14kb User : wl

操作系统实验2:进程调度策略的模拟实现 1、 设计一个有 N个进程共行的进程调度程序。 2、 每个进程有一个进程控制块PCB来表示,进程控制块的格式为: 进程名 优先数 到达时间 需要运行时间 已占用CPU时间 进程状态 a) 进程优先数、需要运行时间、到达时间可以事先人为地指定,也可以随机产生,注意初始化上述数值时要尽量使进程并发执行,而不是按到达时间顺序调度。 b) 进程的运行时间以时间片为单位进行计算。 c) 进程状态分为就绪、运行、完成三种状态之,分别用W、R、F表示。 3、 进程调度规则如下: a) 就绪进程获得 CPU后都只能运行一个时间片。用已占用CPU时间加1来表示。 b) 如果运行一个时间片后,进程已占用 CPU时间达到所需要运行时间,则进程完成,撤销该进程。 c) 如果运行一个时间片后,进程已占用CPU时间还未达到所需要运行时间,即进程需要继续运行,将它插入就绪队列,队列重新排序,等待CPU。 d) 重复以上过程,直到所要进程都完成为止。 -two experimental operating system : the process of scheduling strategy to achieve a simulation. Design is a process of a total of N the process scheduler. 2, each process is a process control block to PCB said that the process control block format : process a few who arrived at the priority needs time to time running CPU time a state process) process priority number. need to run time, arriving in time prior to artificially designated, can also randomly generated, Initialization attention to the above values are to make the complicated process of implementation, and not by order of arrival time scheduling. B) the process of running time to time slice for calculation. C) process into a state of readiness, operations, completed three Status, W, R, F said. 3, the process of scheduling rules ar
Date : 2025-12-16 Size : 1kb User : qiuzhicheng

隐藏进程的,通过编译,也通过了测试,可以给新手做参考-Hidden process, through the compiler, but also passed the test, you can make reference to the novice
Date : 2025-12-16 Size : 241kb User : 张伟平

多线程客户服务器设计,对要作毕业设计的同学很有帮助啊-Multi-threaded client-server design, designed to make graduate students helpful ah
Date : 2025-12-16 Size : 5kb User : 刘唐

自己做汇编课程设计的时候写的多任务调度程序,有兴趣的可以参考一下! -Make their own compilation of curriculum design when writing multi-task scheduling procedures are interested can refer to!
Date : 2025-12-16 Size : 64kb User : 龚云祥
« 12 3 4 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.