Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - reader
Search - reader - List
mfc写的游戏修改器,读取内存修改,总体设计不错-mfc write of the game changes, reader memory changes, good design
Date : 2008-10-13 Size : 97.76kb User : 毛毛

读者-写者问题源代码,实现进程之间的同步与互斥 -reader-written source code problem, the realization of the process of synchronization and mutex
Date : 2008-10-13 Size : 104.45kb User : yan

在Windows Xp 环境下,创建一个包含n 个线程的控制台进程。用这n 个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求,进行读写操作。请用信号量机制分别实现读者优先和写者优先的读者-写者问题。 读者-写者问题的读写操作限制: 读者-写者的读写限制(包括读者优先和写者优先) 1)写-写互斥,即不能有两个写者同时进行写操作 2)读-写互斥,即不能同时有一个读者在读,同时却有一个写者在写 3)读读允许,即可以有2个以上的读者同时读 将所有的读者和所有的写者分别放进两个等待队列中,当读允许时就让读者队列释放一个或多个读者,当写允许时,释放第一个写者操作。 读者写者问题的定义如下: 有一个许多进程共享的数据区,这个数据区可以是一个文件或者主存的一块空间; 有一些只读取这个数据区的进程(Reader)和一些只往数据区写数据的进程(Writer),此外还需要满足以下条件: 1) 任意多个读进程可以同时读这个文件; 2) 一次只有一个写进程可以往文件中写; 3) 如果一个写进程正在进行操作,禁止任何读进程度文件。 我们需要分两种情况实现该问题: 读优先:要求指一个读者试图进行读操作时,如果这时正有其他读者在进行操作,他可直接开始读操作,而不需要等待。 写优先:一个读者试图进行读操作时,如果有其他写者在等待进行写操作或正在进行写操作,他要等待该写者完成写操作后才开始读操作。
Date : 2011-06-04 Size : 17.61kb User : zhzghyd

mfc写的游戏修改器,读取内存修改,总体设计不错-mfc write of the game changes, reader memory changes, good design
Date : 2026-01-16 Size : 98kb User : 毛毛

用java语言实现IPC经典问题中的读者写者问题-with java language IPC classic problem of the problem of readers to write
Date : 2026-01-16 Size : 4kb User : wyn

读者-写者问题源代码,实现进程之间的同步与互斥 -reader-written source code problem, the realization of the process of synchronization and mutex
Date : 2026-01-16 Size : 104kb User : yan

DL : 0
操作系统课程设计,实现读者与写者问题,我的心血呀-Operating systems curriculum design, the reader realize the problem with writing, my efforts you
Date : 2026-01-16 Size : 3kb User : xiacao

读者写者问题(读者优先,写者优先), pv操作,进程同步与互斥-Readers to write the problem (the reader priority, writing is preferred), pv operation, the process of synchronization and mutex
Date : 2026-01-16 Size : 10kb User : 何健明

通过本程序可以实现os中经典的读者写者问题,欢迎下载-This procedure can be achieved through os classic readers to write in the problem are welcome to download
Date : 2026-01-16 Size : 677kb User : 笑哈哈

多线程下的读者写着程序,用的是读者优先的写法。-Multi-threaded program under the reader wrote, using the wording of the priority readers.
Date : 2026-01-16 Size : 2kb User : 陈媛

通过读者与写者(写者优先)的模型,模拟线程及其同步机制-Through the reader and writer (written preferred) model to simulate the threads and synchronization mechanisms
Date : 2026-01-16 Size : 2kb User : 屠娇娇

reader-writer problem implemented in C
Date : 2026-01-16 Size : 1kb User : somit

读者写者进程同步问题解决方案,利用临界区,信号量来实现进程或者线程同步-Reader-writer synchronization process solutions, using the critical area, the signal values in order to achieve the process or thread synchronization
Date : 2026-01-16 Size : 3kb User :

多线程的资料,非常方便读者理解多线程,同时也比较透彻地解析了多线程的原理-Multi-threaded data, very convenient to the reader to understand multi-threading, but also more thorough analysis of the principle of multi-threading
Date : 2026-01-16 Size : 1kb User :

C++ 模拟经典读写模型 多线程实现-C++ simulation model of the classic reader
Date : 2026-01-16 Size : 1kb User : zcw

Windows进程和线程创建方法实现一个简单的读者写者程序,读者将1~10十个数字一次填入临界区gData,当且仅当gData被读者消费后,写者才可以写入下一个数。-Windows process and thread creation method to implement a simple reader writer program, readers will be number 1 to 10 ten critical areas once populated gData, if and only if gData consumption by the reader, the writer can write the next number.
Date : 2026-01-16 Size : 1.2mb User : pupu

操作系统中读者写者问题的模拟实现采用java多线程方式实现-Reader and Writer(Reader First)
Date : 2026-01-16 Size : 1kb User : zhanghuachao

用多线程同步方法解决读者-写者问题。为每个读者/写者产生一个线程,设计正确的同步算法-With multi-thread synchronization methods to solve the reader- writer problem. For each reader/writer to produce a thread, correct synchronization algorithm design
Date : 2026-01-16 Size : 165kb User : nieyuanhao

创建一个控制台进程,此进程包含n个线程,用这n个线程来表示n个读者或写者,每个线程按相应测试数据文件(后面有介绍)的要求进行读写操作,用信号量机制分别实现读者优先和写者优先的读者-写者问题。 读者-写者问题的读写操作限制(包括读者优先和写者优先): 写-写互斥,即不能有两个写者同时进行写操作。 读-写互斥,即不能同时有一个线程在读,而另一个线程在写。 读-读允许,即可以有一个或多个读者在读。 读者优先的附加限制:如果一个读者申请进行读操作时已有另一个读者正在进行读操作,则该读者可直接开始读操作。 写者优先的附加限制:如果一个读者申请进行读操作时已有另一写者在等待访问共享资源,则该读者必须等到没有写者处于等待状态后才能开始读操作。-Create a console process, this process contains n threads, n-reader or writer to represent with n threads, each thread according to the corresponding test data files (followed by description) the requirements of the read and write operations, semaphores mechanisms, respectively reader priority and the write priority reader- writer problem. Reader- the writer to read and write operating limits (including the reader priority and priority to the writer): write- write mutually exclusive, ie can not have two writers write. Read- write mutex that is not at the same time there is a thread in another thread writing. Read- read permission, which can have one or more readers. Readers priority additional restrictions: If a reader application for the read operation has been another reader being read, the reader can directly read. Write priority additional restrictions: If a reader application for the read operation has been another writer in waiting for access to shared resources, the reader must
Date : 2026-01-16 Size : 7kb User : 何必

多进程/线程编程:读者-写者问题。      1,设置两类进程/线程,一类为读者,一类为写者;   2,随机启动读者或写者;  3,显示读者或写者执行状态;  4,随着进程/线程的执行,更新显示;  -Multi-process/thread programming: Readers- write the problem. 1, set two types of processes/threads, one for readers and one for writers  2, random start reader or writer 3, shows readers who write execution state 4, with the process/thread of execution, update the display
Date : 2026-01-16 Size : 13kb User : 刘禹
« 12 3 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.