搜索资源列表
线程同步与互斥
- 这是操作系统的上机资料,关于线程同步和互斥的
进程互斥分析
- 进程互斥分析 进程互斥分析-process contradict analysis contradict analysis proce
Mutexes.rar 实现进程互斥的源代码
- 实现进程互斥的源代码,并有演示, The realization advancement incompatible source code, and has demonstrates
RWLock.rar
- 实现了面向多线程应用程序的读写锁,支持并发读,互斥写,For the realization of multi-threaded applications to read and write lock to support the concurrent read, exclusive write
MutexSynch
- 多线程编程-利用互斥量对象实现线程之间的同步。-Multi-threaded programming- the use of mutex objects to achieve the amount of synchronization between threads.
Access
- 在Windows2000环境下,创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面介绍)的要求进行读写操作。用信号量机制分别实现读者优先和写者优先问题。 读者-写者问题的读写操作限制(包括读者优先和写者优先) 1) 写-写互斥:不能有两个写者同时进行写操作 2) 读-写互斥:不能同时有一个线程在读,而另一个线程在写。 3) 读-读允许:可以有一个或多个读者在读。 -In Windows2000 environment,
tongbu
- 同步与互斥 ,还有显示当前线程,司机售票员的pv,还有售票员买票-Synchronization and mutual exclusion, but also shows the current thread, the driver conductor of pv, also buy a ticket conductor
produce_consume
- 模拟进程同步中的进程与线程问题,熟悉信号量的使用及互斥同步过程-Simulation of the process of synchronization of processes and threads problem, familiar with the use of semaphores and mutex synchronization process
P3
- 利用互斥对象实现对变量的互斥访问,来达到实现线程同步的目的 再去掉互斥对象后,就可实现线程不同步.-Use mutex object mutex implementation of variable access, to achieve the implementation of thread synchronization purposes and then remove the mutex object, the thread can not achieve synchronization
mutex
- windows下互斥量的范例实现,使用waitForsingleobject-the implement
Programs(update)
- 以生产者/消费者模型为依据,在Windows 2000环境下创建一个控制台进程,在该进程中创建n个线程模拟生产者和消费者,实现进程(线程)的同步与互斥。-To the producer/consumer model as the basis, in the Windows 2000 environment to create a console process, in the process to create a thread simulation n producers and consum
ChangeMutex
- VB 创建互斥体 阻止实例重复运行的例子-VB Change Mutex
MultiThread
- 实现两个售票线程的交替执行,通过互斥对象实现控制。-To achieve the implementation of two alternating ticket thread through the mutex object to achieve control.
jincheng
- 操作系统进程的同步与互斥。解决经典的水果问题。-The operating system process synchronization and mutual exclusion. To solve the classic problem of fruit.
MultiThread1
- 实现火车站售票系统,采用多线程和互斥对象,在VC++环境实现。-Achieve the train station ticketing system, using multi-thread and mutex objects, in the VC++ environment for implementation.
CMutex
- vc6下实现的多线程同步例子。本例很好的说明多线程同步方法的使用。同步方法是互斥体,使用的是mfc中互斥对象,简单易用很适合初学线程控制学习。
进程同步与互斥
- 依据生产者-消费者模型,在Windows年环境下创建一个控制台进程,在该进程中创建n个线程模拟生产者和消费者,实现进程(线程)的同步与互斥,分析、熟悉生产者消费者问题仿真的原理和实现技术。
干互斥体(请自己获取互斥体句柄)
- 根据句柄关闭互斥体,多开常常会用到这个!!!!!!(Closes the mutex according to the handle)
关闭互斥体
- 如果你找到了游戏多开的互斥体却不知道怎样关闭它,那么本源码会帮到你的。(If you find a game mutex, but you don't know how to turn it off, then the source will help you.)
API创建互斥体禁止程序重复运行
- 调用系统API,创建互斥体禁止程序重复运行(Invoke system API, create mutex, prohibit program running repeatedly.)