Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode OS program Linux-Unix
Title: File-Operations Download
 Description: Linux is in FIFO pipe communication mechanism between processes. Linux supports a full FIFO communication mechanism. The experiment content, through the use of file operations, simulation FIFO (First In First Out) structure as well as producer- consumer model is run. In this study we need to open two virtual terminals, each running program producers (producer) and consumer programs (customer). At this point two processes simultaneously on the same file for read and write operations. Because this document is the critical resource, so you can use the file locking mechanism to ensure access to the file two processes are atomic. Producers first start process, it is responsible for creating the simulation FIFO file structure (actually a common file) and put into production, is in accordance with a given time interval, automatically generated characters written into the FIFO file (using macros define the selection the use of digital still use English characters), the production cycle and t
 Downloaders recently: [More information of uploader 忆昔]
 To Search:
File list (Check if you may need any files):
 

sy4\customer.c
...\mylock.h
...\producer.c
...\sy4.c
sy4
    

CodeBus www.codebus.net