Welcome![Sign In][Sign Up]
Location:
Search - readerwriter

Search list

[Linux-Unixreaderwriter

Description: 读者和写者的问题例子-readers and writing examples, the problem
Platform: | Size: 1110 | Author: 李春 | Hits:

[Linux-Unixreaderwriter.cpp

Description: 读者—写者问题的读写操作限制(包括读者优先和写者优先): 1)写—写互斥,即不能有两个写者同时进行写操作。 2)读—写互斥,即不能同时有一个线程在读,而另一个线程在写。 3)读—读允许,即可以有一个或多个读者在读。 -readers-the problem was the restrictions on reading and writing operations (including readers wrote priority and priority) : 1) write-write mutex, and that is not written there were two parallel write. 2) read-write exclusive, and that is not also a thread reading, and writing in another thread. 3) Reading-time permitting, there may be one or more readers in Reading.
Platform: | Size: 5568 | Author: jj | Hits:

[OS Developreaderwriter

Description: 操作系统课程设计,读者写者问题的详细实现
Platform: | Size: 24547 | Author: 离间 | Hits:

[OtherReaderWriter

Description: 操作系统课程设计,关于操作系统经典问题读者写者问题的演示!-courses on operating system design, operating system classic problem of the readers who write the demo!
Platform: | Size: 13297 | Author: 小禹 | Hits:

[Linux-Unixreaderwriter

Description: 读者和写者的问题例子-readers and writing examples, the problem
Platform: | Size: 1024 | Author: 李春 | Hits:

[OtherReaderWriter

Description: 操作系统课程设计,关于操作系统经典问题读者写者问题的演示!-courses on operating system design, operating system classic problem of the readers who write the demo!
Platform: | Size: 13312 | Author: 小禹 | Hits:

[OS Developreaderwriter

Description: 操作系统课程设计,读者写者问题的详细实现-Operating systems curriculum design, the readers who write detailed realize
Platform: | Size: 24576 | Author: 离间 | Hits:

[JSP/Javareaderwriter

Description: 这是java 字符流对象的简单比较的源码例子。希望能帮组学java的朋友-This is a java character stream object source code example of a simple comparison. Hope that genomics can help java friends
Platform: | Size: 2048 | Author: 东东 | Hits:

[OS Developreaderwriter

Description: 多线程实现读者写者问题,用信号量控制的多线程实现-Readers to write to achieve multi-threading problem
Platform: | Size: 7168 | Author: pengbo | Hits:

[OS DevelopReaderwriter

Description: Reader Writer Problem to solve synchronization issues
Platform: | Size: 33792 | Author: Nasir | Hits:

[Process-Threadreaderwriter

Description: 通过读者与写者(写者优先)的模型,模拟线程及其同步机制-Through the reader and writer (written preferred) model to simulate the threads and synchronization mechanisms
Platform: | Size: 2048 | Author: 屠娇娇 | Hits:

[Windows Developreaderwriter

Description: using various readers and writers in java
Platform: | Size: 11264 | Author: samy | Hits:

[Otherreaderwriter

Description: 读者写者问题C++解法,使用互斥信号量,写者线程优先,共有3个读者2个写者-Similar to the barbers problem,the program use semaphore to solve the reader/writer problem.Two semaphores are involved:m_h,db_h,used as a counter and mutex between 2 writers. Main function create 3 reader thread and 2 writer thread.The writer thread has a higher priority by using SetThreadPriority() function
Platform: | Size: 1024 | Author: 王跃辉 | Hits:

[Linux-Unixreaderwriter

Description: 在Linux下用多线程同步方法解决读者-写者问题(Reader-Writer Problem) -In Linux, use the multi-thread synchronization solution to the reader- writer problem (Reader-Writer Problem)
Platform: | Size: 113664 | Author: 孙芸芸 | Hits:

[GUI DevelopReaderWriter

Description: 这是一个读者写者进程,实现写者优先算法,有操作界面,放一个txt文件,进行计算-Reader Writer
Platform: | Size: 2832384 | Author: Sarah | Hits:

[Software Engineeringreaderwriter

Description: 实验一 用信号量来实现读者-写者问题 (一) 实验目的 理解进程(或线程)及信号量的概念 (二) 实验内容 1、定义一个数据缓存buffer及用于实现同步互斥的信号量。 2、定义一个读者函数: 当有写者在占用buffer时,读者应该等待,直到写者不再使用该buffer。 当有其他读者在占用buffer时,读者可对buffer进行读取操作。 当buffer中有数据时,则从其中读取一个数据,并显示然后退出。 当buffer中没有数据时,应等待,直到buffer中有数据可读。 3、定义一个写者函数 当有读者在占用buffer时,写者应该等待,直到所有的读者都退出为止。 当有其他写者占用buffer时,该写者应该等待,直到占用buffer的写者退出为止。 当buffer有空闲时,写者应该在buffer中写入一个数据并退出。 当buffer满时,写者应该等待,直到buffer有空闲为止。 4、定义主函数,在其中可以任意创建读者与写者。 可根据用户输入创建读者或写者进程(线程)。 5、用户界面 (三) 实验要求 在实验过程中,显示详细的各进程(线程)的状态及buffer使用情况。 (四) 实验学时 3-Experiments using semaphore to implement a reader- writer problem (A) purpose of the experiment Understand the process (or thread), and the concept of semaphore (b) of the experiment content 1, define a data cache buffer, and synchronization for mutual exclusion semaphore. 2, the definition of a reader function: When a write buffer in the occupation, the reader should wait until the writer is no longer used in the buffer. When there are other readers in the occupied buffer, the reader can read buffer operations. When the buffer has data, from which a data read and displayed and then exit. When the buffer contains no data, they should wait until the buffer has data to read. 3, define the function of a writer When a reader occupied buffer, the writer should wait until all of the readers exit. When the buffer occupied by other writers, the writer should wait until the write buffer occupied by exit. When the buffer in their free time to write should be written in a
Platform: | Size: 122880 | Author: 镡皓琳 | Hits:

[JSP/JavaReaderWriter

Description: Java多线程读者写者程序。程序先从txt文本中读取读者写者信息,1 R 3 5为例,1为线程序号,R表示读者,3表示申请操作的时间(秒为单位),5表示操作持续的时间。运行后先选择读者/写者优先,之后按照文本中的描述建立线程,采用信号量机制处理互斥访问。-Readers who write multi-threaded Java programs. Txt program text reads the reader to start writing Information, 1 R 3 5, for example, a number of threads, R for the reader, 3 that the applicant operating time (seconds), 5 that the duration of operation. After the first choice to run the reader/writer first, followed by the text of the description of the establishment of the thread, the use of mechanisms to deal exclusive access semaphore.
Platform: | Size: 6144 | Author: Jonas | Hits:

[OtherReader

Description: 读者写者问题的基本解决思路,参考了windows编程一书-ReaderWriter problem
Platform: | Size: 3016704 | Author: 高寒 | Hits:

[Process-Threadreaderwriter

Description: 简单的读者写者问题,用信号量来实现读者写者问题-Readers to write to readers to write the problem using semaphores
Platform: | Size: 1156096 | Author: 王二刷 | Hits:

[xml-soap-webserviceXmlLite-XML-readerwriter-sample

Description: 使用xmllite 进行 xml 文件的 读和写的范例,从xml文件中读取,并存入节点,写入xml-Xmllite example of xml file read and write, and read from the xml file, and stored in the node, write xml
Platform: | Size: 27648 | Author: phoenux | Hits:
« 12 »

CodeBus www.codebus.net