搜索资源列表
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
pthread
- linux下的多线程的创建及信号同步,信号量,互斥量-under linux to create multi-threaded and signal synchronization, semaphores, mutex volume
produce_consume
- 模拟进程同步中的进程与线程问题,熟悉信号量的使用及互斥同步过程-Simulation of the process of synchronization of processes and threads problem, familiar with the use of semaphores and mutex synchronization process
wu
- 实现操作系统课程的pv操作,在unix下的多进程之间的同步与互斥-The realization of operating systems courses pv operation, in unix multi-process synchronization and mutual exclusion between
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
pthreads_applications
- 这是一个典型的多线程的实验,是用互斥锁来实现生产者与消费者的关系-This is a typical multi-threaded experiments Mutex are used to achieve the relationship between producers and consumers
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.
ProducerConsumer.exe
- 本代码很形象的描述了生产者和消费者的同步与互斥问题-This code is a descr iption of the image of producers and consumers of synchronization and mutual exclusion problems
MultiThread1
- 实现火车站售票系统,采用多线程和互斥对象,在VC++环境实现。-Achieve the train station ticketing system, using multi-thread and mutex objects, in the VC++ environment for implementation.
CMutex
- vc6下实现的多线程同步例子。本例很好的说明多线程同步方法的使用。同步方法是互斥体,使用的是mfc中互斥对象,简单易用很适合初学线程控制学习。
MutipleThread
- 解决多个售票员售票,把一张票售给多个乘客的问题,采用多线程同步与互斥解决。-Solve multiple conductor ticket sales, the number of passengers a ticket sold to the problem of multi-thread synchronization and mutual exclusion solution.
sx2
- 操作系统课程设计,关于消费者与生产者的同步互斥问题的程序源代码。-Courses on operating system design, on consumers and producers mutual exclusion synchronization program source code.
signal_mutex
- 演示了linux中用信号量实现互斥锁的机制,用gcc编译后运行-Demonstrated using linux semaphore mutex lock mechanism, with the gcc compiled and run
Ifps_PWM_160523
- 对称互斥PWM软仿真mutexPWM_simTest, 少走弯路直接打开运行软件仿真即可看到对称互斥PWM波形, 下载到哑STM32F10x系列芯片中就有波形,示波器验证通过.(Symmetric mutual exclusion PWM soft simulation mutexPWM_simTest, less detours, directly open the software simulation, you can see symmetric mutex PWM waveform, d
Mutex
- 封装了Linux下的互斥锁、读写锁、条件锁以及防止死锁的策略(The mutex, read-write lock, conditional lock and deadlock prevention strategy of Linux are encapsulated)