搜索资源列表
ThreadPool(COM)
- 用COM实现的threadpool,学习COM和线程池的朋友可以看一下。-COM achieved using threadpool, learning COM and friends thread pool can look at.
LF_ThreadPool
- 一个在《ACE程序员指南》16章的线程池的例子,但是书上的代码有问题。我进行了修改,使得多线程的运行更加健壮,不会出现当队列中无消息时,线程池迅速消失的BUG。相信很多ACE初学者发现了此问题,在此卖弄一下。-an "ACE Programmer's Guide" Chapter 16 of the thread pool examples, but the book on the code problems. My modified so that the mult
进程和线程
- 看一下UNIX系统中的进程和Mach的任务和线程之间的关系。在UNIX系统中,一个进程包括一个可执行的程序和一系列的资源,例如文件描述符表和地址空间。在Mach中,一个任务仅包括一系列的资源;线程处理所有的可执行代码。一个Mach的任务可以有任意数目的线程和它相关,同时每个线程必须和某个任务相关。和某一个给定的任务相关的所有线程都共享任务的资源。这样,一个线程就是一个程序计数器、一个堆栈和一系列的寄存器。所有需要使用的数据结构都属于任务。一个UNIX系统中的进程在Mach中对应于一个任务和一个单
进程查看源码
- 内存进程/模块查看器(含源码) 发信站:安全焦点(2001年4月16日11时50分22秒) Process ...PS.exe(执行文件),PSAPI.dll(NT4的动态链接库), -memory processes / module viewer (including source code) wrote station : security focus (at 11:50:22 on April 16, 2001) ... PS.exe Process (Enforcement), PSA
进程管理与调度的模拟
- 在进程管理与调度模拟系统中,共涉及到两个类和一个结构体:PCB结构体、链队列类和OS类。操作系统启动后,在系统内将存在PCB池,用来存放进程的PCB结构,PCB池的大小决定了系统中能同时存在的进程数量。在本系统中,假定系统能同时存在的进程数为20个,用一个PCB的数组来表示。PCB池中的PCB会有四种状态:运行状态、就绪状态、阻塞状态和空闲状态,所以,在操作系统中将会有四种队列:运行队列、就绪对列、阻塞队列和空闲队列。进程的创建随着操作系统的调度,将会在这四种队列中变迁。-in process
SimpleGame
- 一个小游戏,非常值得一看,很有条理性,包装的非常好-a little game, very wonderful to look at and very structured, very good packaging
app222
- 一个小程序, 可以加深对控制台程序和windows程序的理解。 有兴趣看看那。-a small program, it can deepen the console procedures and windows procedures understanding. Interested in a look at.
Buttontest_Sample
- 多线程的实例; 查看源码,您即可理解多线程的奥妙;-multithreading examples; Looking at the source, you may be able to understand the secret of multithreading;
osdd
- 在多道程序和多任务系统中,系统内同时处于就绪状态的进程可能有若干个。也就是说能运行的进程数大于处理机个数。为了使系统中的进程能有条不紊地工作,必须选用某种调度策略,选择一进程占用处理机。设计了一个模拟处理机调动算法-in multi-channel and multi-task procedure system, the system in place at the same time within the state of the process may have several. That
e6_2
- 一个模拟医院门诊的vc程序,了解多线程。 欢迎交流和合作,看我的主页。-a simulated hospital outpatient procedures vc understand multithreading. Welcome exchanges and cooperation and look at my home page.
2005112810545531483234556
- 这是我用汇编写的一个打字练习的程序,它能在窗口中随机显示一行字符,输入一行结束时,自动换一行。上面用一个箭头指示所要打的字符,输入正确时显示绿色,错误时显示红色,同时有错误提示音,能用back-space删除字-This is what I used to write a compilation of a typing practice and the procedures it in the window display random characters here, his input at
OnlyChangeUpdate
- java线程事例代码,不错的呀,有jcreator运行,html打开看看效果-code examples, good ah, jcreator operation, html open look at the results! !
VBThreads_[2006-06-14_2308]
- === === === === === === === ==== Zarr s VB Website http://www.zarr.net/vb === === === === === === === ==== This sample piece of VB code has come from Zarr s VB Website at http://www.zarr.net/vb Zarr s VB Website is one of the Internet s
2006021801
- 共四个演示。分别如下: 1:Sample 一个简单的使用了共享内存映射的例子,运行两个实例看看就知道,没有什么特别。 2:SendText 不用窗口子类化,而达到和发送自定义消息同样的效果。 3:SendFile 由于演示2中还是通过发消息来传递字符串,不可能传递大块文本,本例综合演示1和演示2达到传递大块文本的功能。 4:Chat 演示2和演示3使用的都是SendMessage来发放通知消息,所以不能异步通讯,SetWindowText不能跨进程使用,
vb6.0thread
- 一个基于vb6.0编写的多线程程序.以两个图片框背景色的同时改变来演示多线程-vb6.0 prepared for a multi-threaded process. Photo frame with two background color change at the same time to demonstrate the multithread
Traffictest
- 一个java版本的十字路口的交通灯控制演示程序。-a java version of the traffic lights at the crossroads of the control program.
Clunzhuanfa
- 编写并调试一个模拟的进程调度程序,采用“轮转法”调度算法对五个进程进行调度。 轮转法可以是简单轮转法、可变时间片轮转法,或多队列轮转法。 简单轮转法的基本思想是:所有就绪进程按 FCFS排成一个队列,总是把处理机分配给队首的进程,各进程占用CPU的时间片相同。如果运行进程用完它的时间片后还为完成,就把它送回到就绪队列的末尾,把处理机重新分配给队首的进程。直至所有的进程运行完毕。-prepared a simulation and debugging process sched
caisejindu
- VB的欢迎使用 扩大寄生蜂那时大家愤怒似的发十分-VB welcome to expand the use of parasitic wasps At that time, we made very similar anger
UpdateVersion
- Updating version information at run-time
runit
- 软件运行过滤器,用于管理小孩在家上网时不能玩某类游戏。-software running filters, for the management of the Internet at home when the children could not play certain games.