搜索资源列表
thread
- 实现了将一个任务创建多个线程执行的功能。而且实现了多个生产者和多个消费者同步的功能。-To achieve a task that will create multiple threads perform executive functions. But also achieved a number of producers and multiple consumers in synchronization feature.
vp2.0simframe
- 此VP的MFC框架是通过创建线程的方式运行的此框架的优点: 1.使用方便,通过继承一个类的几个函数,就能达到应用vp的目的 类似于vega的zsVegaView类 2.可以使用MFC的键盘响应函数,可以实现多键响应 3.避免使用vpApp向导类 4.可以方便的使用各种vp subscriber类 与MFC结合较紧密-The VP of the MFC framework is a way through the creation of threads runni
vp2.1simframe
- 此VP的MFC框架是通过创建线程的方式运行的 此框架的优点: 1.使用方便,通过继承一个类的几个函数,就能达到应用vp的目的 类似于vega的zsVegaView类 2.可以使用MFC的键盘响应函数,可以实现多键响应 3.避免使用vpApp向导类 4.可以方便的使用各种vp subscriber类 与MFC结合较紧密-The VP of the MFC framework is a way through the creation of threads ru
PROSUM
- 编程实现生产者-消费者问题。提示:生产者-消费者问题是一个实现线程同步的问题,生产者线程总是先运行,消费者线程在其后,两者交替运行,在程序中生产者线程和消费者线程可以共享数据,生产者线程为数据赋值,消费者线程将数据返回。可以利用创建Thread类的子类来实现。-Programming producer- consumer issues. Tip: Producer- Consumer problem is an implementation of thread synchronization
1
- 线程的创建和撤销,c语言实现,模拟操作系统线程的创建和撤销机制。-thread
sy4
- 线程的创建和同步控制 在windows2000的环境下,创建一个控制台进程,此进程创建两个并发线程,一个是读线程,另一个是写线程。这两个线程共享一个数组A,写线程对数组分别进行10次写操作,每次写操作对A的每个元素赋一个相同的值;读线程对数组分别进行10次读操作,每次读操作输出A中所有元素的值。写出相应代码,并分析运行结果。修改代码,使每次读写互斥,即每次对数组的写操作结束后才能进行写操作,反之亦然。-Thread creation and synchronization control i
tsqt
- 本程序为天书奇谈起点专区辅助工具,内有自动战斗(调用游戏本身自动功能,可有效减少操作时间),人物一键加药,宠物一键加药,挂机采集这几个功能。 文件说明: HH.exe为主程序(必要文件) config.ini为配置文件(必要文件) cjfb.edb为存放采集封包的数据(必要文件) *作坊1.5-第六版.ec,Super-EC_3.0.ec,*海万能模块1.7贺岁版.ec三个为模块(只需要用工具的可以删除) HH.e为易语言源码(只需要用工具的可以删除) 程序使用的
Code2
- 每个进程至少拥有一个线程,来执行进程的地址空间中的代码。当创建一个进程时,操作系统会自动创建这个进程的第一个线程,称为主线程。此后,该线程可以创建其他的线程。-Each process has at least one thread to execute the code in the address space of the process. When a process is created, the operating system will automatically create a
VC6_mschart_To_VC2010
- mfcdll创建和调用应用,这里给出vc6的mschar图表控件用于vc2010示例,VC6创建的动态库程序调用mschar生成DLL接口,再在VC2010调用。控件随窗口变化时自动调整控件显示大小和位置。修改下自动生成的数据也在定时器或者线程里调用显示实时数据变化情况。应用于数据统计上作为花销直观的外观显示-Creating and calling application mfcdll here given the vc6 mschar chart control for vc2010 exa
doublethread
- 自己写的双线程程序 完成了线程的创建 挂起等等功能-Write their own dual-threaded program to complete the creation of the thread hangs more
Handler2
- handler可以分发Message对象和Runnable对象到主线程中, 每个Handler实例,都会绑定到创建他的线程中(一般是位于主线程), 它有两个作用: (1): 安排消息或Runnable 在某个主线程中某个地方执行, (2)安排一个动作在不同的线程中执行 -Message handler can distribute objects and Runnable object to the main thread, each Handler instance will bi
test
- 线程的创建与消除,进程的创建与消除,关于进程调度算法,高响应比优先,轮转调度算法,短作业优先算法-Thread creation and elimination, the process of creation and elimination, on the process scheduling algorithm, a high response ratio priority scheduling algorithm, short operating priority algorithm
sc6
- JAVA线程讲解代码包括:线程概述,创建线程,线程优先级,线程让步和阻塞,线程睡眠以及简单线程的实例应用讲解-JAVA thread to explain the code include: an overview of the thread, create a thread, the thread priority, thread concessions and blocking, application examples to explain the thread to sleep and
DelphiXCTB
- Delphi多对象等待实现的线程同步 运行示例程序,并尝试在输入框中输入有效的目录名,然后 按下“添加到监视列表”按钮。 到被监视的目录中,做一些文件或者目录操作,例如创建文 件、更名等。会发现本程序将做出一些响应。-Delphi multi-threaded implementation of synchronization object wait
threading
- 跨平台c++线程库,很好的封装了线程池,线程的创建-Cross-platform c++ threading library, very good encapsulates the thread pool, the creation of a thread
test4
- 大家知道在VC++中我们可以用CreateThread创建一个线程,该函数返回这线程的Handle,以后我们就可以用这个Handle来管理这个线程的。于是我们可以做一个类名为ThreadManager,来管理这些Handle,并随时监控这些线程的状态。 总的思想就是这样,不过为了方便使用,我们最好把这个类封装成DLL的形式,这样以后我们在任何程序中都可以很方便的用该类来管理线程了(当然如果你有兴趣,也可以用COM模型来实现)。 -We all know that in VC++, we
Thread-creation
- 线程的创建 使用函数来创建线程 利用MFC来创建线程 属于C语言中级开发部分内容-Thread creation
C++多线程编程
- 多线程编程总结,讲述了多线程创建使用的方法,有代码实例。(Multithreaded programming, about the way to create using multi-threaded, with code examples.)
1
- 线程互斥。在 main函数中创建一新线程,然后main线程和这个新线程共享同一变量,如 sum。在 main函数中,编写一个循环语句共循环 20 次,在每循环中先把sum的值加 1,然后休眠1毫秒。在新线程中,也 毫秒。在新线程中,也编写一个循环语句,总共循环20 次,在每次循环中先把sum 赋值给一个临时变量t,然后把 t加 1,然后休眠 1毫秒,最后把 t的值赋给sum 。当上述工作全部完成后,在main函数中打印sum的值。(Thread mutual exclusion. Create
Windows下线程的创建和并发执行
- 编写一个程序,完成多个线程的创建,使得所创建的多线程在处理机上并发执行。通过本实验,学习在Win32程序中利用操作系统提供的API创建线程,并通过所创建线程的运行情况来获得关于多线程并发的感性认识,以及加深对临界资源(本实验中临界资源是屏幕)互斥访问的理解。(Write a program to complete the creation of multiple threads, so that the created multithreading is executed concurrentl