搜索资源列表
rw1
- 操作系统中的读者写者问题,实现了写者优先。-Readers to write in the operating system were the problem, to achieve the writing is preferred.
rw1
- 操作系统中的读者写者问题,实现了写者优先。-Readers to write in the operating system were the problem, to achieve the writing is preferred.
read_write.c
- 读者写者问题的linux系统编程的实现,基于she-Readers who write the linux system programming implementation, based on the shell
rw
- 经典读者写者问题的C++代码实现,代码在这里,来拿吧-Classic problem C++ readers to write code, code here, come and collect it
Test1
- 操作系统读者写者实验 windows平台下C++编程实现-Readers to write the operating system under test windows platform C++ Programming
src
- 进程管理 实验目的 掌握进程的概念,深入理解进程的含义。认识并理解并发环境中进程执行的实质问题,了解构成并发机制的进程创建过程; 了解在进程创建后通过对进程控制的系统调用,可实现对进程的有效控制。掌握在进程执行中对进程进行睡眠、同步、撤消等控制方法; 分析进程竞争资源的现象,学习解决进程互斥的方法。 实验内容 1、创建新的进程;查看运行进程;换出某个进程;杀死运行进程。 2、采用写者优先重写P94的读者-写者问题,并通过一个读写序列,将算法与读者优先算法进行比较
PV
- 基于信号量与P/V操作同步机制的读者/写者问题的设计与实现 (1)设置读者、写者个数输入(界面);实现读者、写者进程的动态创建; (2)用信号量与P/V操作同步机制实现写者优先的读者/写者问题。 (3)设计并实现运行结果(界面)包括: 动态显示多个读者或一个写者的读/写操作互斥状态: 显示正在进行读或写操作的进程,以及等待读或写操作的进程; 动态显示写者优先的过程: 即当有读者进程在读时,有写者进程要求写操作,后续的读者进程应该等待;并且当读操作的读者进程结束读操作
writefirst
- 读进程具有优先权的读者写者问题,操作系统实验二-Reading process has priority readers to write
wr
- 利用mfc动态实现的os中的读者写者问题,具有参考意义-Dynamic use mfc achieve os readers to write in with a reference value
OS-process-reader-and-writer
- 进程同步互斥和读者写者问题,C实现-Process synchronization exclusive and readers who wrote
duzhexiezhe
- 操作系统实验代码,读者写者问题,线程创建,撤销,终止,关闭,以及挂起等操作,相关信号量机制问题-Experimental operating system code readers to write, thread creation, revocation, termination, close, and suspend operation, the relevant signal to the mechanism
ReaderPriority
- linux下实现读者写者问题,此代码实现的是读者优先-realize readers who write under linux, this code is a priority reader
WR
- 创建一个控制台进程。此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面有介绍)的要求进行读写操作。用信号量机制分别实现读者优先和写者优先的读者-写者问题。-Create a console process. This process consists of n threads. Use of these n threads to express n readers who write. Each thread according to the corresp
duzhexiezhe
- 读者写者问题 读者写者问题 读者写者问题-Readers who write the readers who write the readers who write the readers who write readers to write
readwrieter
- 创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制分别实现读者优先和写者优先的读者-写者问题。-Creating a console, this process contain n threads. Use of these n threads to express n readers who write. Each thread according to the requirements of relevant
exp2RW
- 创建一个控制台进程。此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面有介绍)的要求进行读写操作。用信号量机制分别实现读者优先和写者优先的读者-写者问题。 读者-写者问题的读写操作限制(包括读者优先和写者优先): 1)写-写互斥,即不能有两个写者同时进行写操作。 2)读-写互斥,即不能同时有一个线程在读,而另一个线程在写。 3)读-读允许,即可以有一个或多个读者在读。 读者优先的附加限制:如果一个读者申请进行读操作时已有另一个读者
Reader_First
- 我是编程小菜鸟 - -,这个是俺上课编的读者写者问题的读者优先,使用线程,欢迎批评!- I was programming a small rookie This is the class I series readers to write readers priority issues, the use of threads, welcome criticism! So when debugging multithreaded mode must be selected.
Writer_First
- 我是编程小菜鸟0.0 这是是OS课时模拟的读者写者问题的写者优先,使用线程,调试时须选择多线程方式。欢迎批评!- I was programming a small rookie 0.0 This is at OS simulation class readers-writers problem who write priority, the use of threads, shall multi-thread debugging. Welcome to criticize!
reader-and-writer
- 操作系统经典问题读者写者问题,包含读者进出与写者进出,实现中断模拟-OS classic problem of readers to write the problem, including the readers who wrote in and out and out and achieve interrupt simulation
readerwriter
- 读者写者问题C++解法,使用互斥信号量,写者线程优先,共有3个读者2个写者-Similar to the barbers problem,the program use semaphore to solve the reader/writer problem.Two semaphores are involved:m_h, h,used as a counter and mutex between 2 writers.Main function create 3 reader thread an