Description: pic mcu code:This application note describes the design and
implementation of a USB Mass Storage Device (MSD)
using a Secure Digital card, which should prove useful
to developers of USB mass storage solutions. This
application may be used as a stand-alone MSD or as a
Secure Digital/Multimedia Card (SD/MMC) reader/
writer interface.-pic mcu code : This application note describes the design and implementation of a USB Mass Storage Device (MS D) using a Secure Digital card, which should prove useful to developers of USB m ass storage solutions. This application may be used as a stand-alone MSD or as a Secure Digital/Multimedia Card (SD/MMC) reader/writer inter face. Platform: |
Size: 468992 |
Author:赵伟刚 |
Hits:
Description: 在Windows2000或Windows XP环境下,创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制分别实现读者优先和写者优先问题。-In Windows2000 or Windows XP environment, the creation of a console process, this process contains n threads. Using this n that n threads to a reader or writer. Each thread in accordance with the corresponding test data files to read and write operation requirements. Semaphore mechanism with the respective priorities and the achievement of the readers who write priority issue. Platform: |
Size: 2048 |
Author:lifei |
Hits:
Description: This program uses the HF flag of a FIFO to trigger reads, guaranteeing that the FIFO is never blocked for the writer, giving high throughput for the reader (bursts of D/2 = 128) and guaranteeing that the the reader will not be stuck in the top half of the FIFO. Platform: |
Size: 2048 |
Author:宋涛 |
Hits:
Description: 计算机操作系统上机实验,其中的读者写者问题的实现-Computer operating system on the machine experiment, in which readers write the realization of the problem Platform: |
Size: 54272 |
Author:沈玉 |
Hits:
Description: 通过研究Linux的线程机制和信号量实现读者写者(Reader-Writer)问题并发控制。
1)写-写互斥:不能有两个写者同时进行写操作;
2)读-写互斥:不能同时有一个线程在读,而另一个线程在写;
3)读-读允许:可以有一个或多个读者在读;
4)读者优先的附加限制:如果读者申请进行读操作时已有另一个读者正在进行读操作,则该读者可直接开始读操作;
5)写者优先的附加限制:如果一个读者申请进行读操作时已有另一个写者在等待访问共享资源,则该读者必须等到没有写者处于等待状态后才能开始读操作。
-By studying the Linux thread mechanism and semaphores realize readers who write (Reader-Writer) the issue of concurrency control. 1) to write- write mutex: Can not write at the same time there are two write operations 2) read- write mutex: Can not have a thread at the same time in reading and writing another thread 3) Reading- Reading of permit: can have one or more readers read 4) the priority of additional restrictions readers: If the readers apply for a read operation, there was another reader being read, the reader can be directly started reading operation 5) to write additional priority Restrictions: If an application for a reader reading write operation has been in waiting for another visit to a shared resource, the reader must wait until those who had not been written in a wait state after the read operation can begin. Platform: |
Size: 7168 |
Author:vivien |
Hits:
Description: 操作系统实验,进程同步和异步算法,读者-写者实验-Experimental operating system, the process of synchronous and asynchronous algorithm, the readers- to write those experiments Platform: |
Size: 1992704 |
Author:jacky |
Hits:
Description: 本程序是实现操作系统中进程同步算法的程序,一个经典的算法reader/writer问题-This procedure is to achieve the operating system in the process of synchronization algorithm for the procedure, a classical algorithm for reader/writer problem Platform: |
Size: 1024 |
Author:zhang |
Hits:
Description: Java文件编程中与文件内容操作有关的四个核心类:InputStream、OutputStream、Reader、Writer,并讲解了线程间是如何使用IO进行通信的-Programming in Java file with the file content to operate the four core classes: InputStream, OutputStream, Reader, Writer, and explained how the use of IO threads to communicate Platform: |
Size: 3072 |
Author:cong |
Hits:
Description: 多进程/线程编程:读者-写者问题。
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 Platform: |
Size: 13312 |
Author:刘禹 |
Hits:
Description: 操作系统经典问题读者写者问题,包含读者进出与写者进出,实现中断模拟-OS classic problem of readers to write the problem, including the readers who wrote in and out and out and achieve interrupt simulation Platform: |
Size: 265216 |
Author:冉 |
Hits: