资源列表
jinchengshouhu
- 双进程守护例子,想法其实大家都会,但实现不容易,大家可看看,其实运行时移动走一个程序,也失败了-Dual-process guardian example, the idea of fact, we will, but not easy to achieve, we can see, in fact, run-time mobile take a program, but also failed
W32MultiThreadProgramming
- 讲解Windows多线程程序设计的一些基本源码-On Windows multi-threaded program design some of the basic source code
producer-consumer-problem
- Introduction In this project, we will design a programming solution to the bounded-buffer problem using the producer and consumer processes . The solution uses three semaphores: empty and full, which count the number of empty and full slots
done
- 本系统的同步机构采用信号量上的P、V操作的机制;控制机构包括: (1)阻塞和唤醒操作; (2)时间片中断处理程序模拟时间片中断; (3)进程调度程序负责为各进程分配处理机。 系统中涉及了3个并发进程。它们之间的关系是: (1) 3个进程需要互斥使用临界资源S2。 (2)进程1和进程2又需互斥使用临界资源S1. 本系统在运行过程中随机打印出各进程的状态变换过程,系统的调度过程及公共变量的变化情况。-Synchronization of the sy
sample
- 在VS2005环境下,使用MFC实现一个马赛克图片特技的多线程播放。将打开按钮的响应函数中屏蔽的代码打开可以看到串行程序的效果。通过二者的对比可以深刻体会串行程序与多线程程序的区别。这是我自己写的,在讲课中用的一个小示例程序。-In the VS2005 environment, the use of MFC stunt the realization of a mosaic picture of the multi-threaded playback. Button will open the
socketC++
- 使用多线程开发socket,分为客户端和服务端,能够相互通信-The development of the use of multi-threaded socket, is divided into client and server can communicate with each other
PMon
- 通过监控进程,程序自动拉起的小工具(原创)-Through the monitoring process, the procedure automatically pull up a small tool (original)
ThreadSample
- 使用VC++中MFC实现多线程编程,该代码给出了基本框架。-Use VC++ In MFC to achieve multi-threaded programming, the code gives the basic framework.
yinhang
- 一个十分经典而且简单的银行家算法,对操作系统上机实验十分有效-A very classic and simple bankers algorithm, on the operating system on the experimental machine is very effective
ThisIsMyPROCESS
- 操作系统的进程管理的模拟,采用的算法是动态高优先权的算法。-Operating system process management, simulation, using the algorithm is a dynamic high-priority algorithms.
multiThead7
- 此代码实现了一个经典的多线程编程的例子,是学习多线程编程难得的代码-This code implements a classic example of multi-threaded programming is to study a rare multi-threaded programming code
29_161625_pc
- 生产者与消费者问题算法实现,功能要求:根据进程同步机制,编写一个解决上述问题的可视化程序,可显示缓冲池状态、放数据、取数据等过程。 具体参数:有4个生产者进程,分别为P1、P2、P3和P4; 有4个消费者进程,分别是C1、C2、C3和C4; 缓冲区单元个数N=15; 不同的生产进程可生产不同的产品,自己可任意定义,在本程序中是直接将相应生产者代号放入缓冲区,消费时将某消费者消费某生产者的信息显示出来 -Producers and consumers, the issue