Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode OS program Linux-Unix
Title: change Download
 Description: Using the system call pipe () to build a pipeline system call fork () to create two sub-processes, respectively, which were written to the channel word, such as: Child process1 is sending a message! Child process2 is sending a message! Parent were read from the pipe from the two sub-processes of information displayed on the screen. Concurrent execution of two sub-processes. The exclusive use of Tube. When a child process is to write to the pipeline, another pipeline like to write to the child process to wait. Using the system call lockf (fd [1], 1,0) to achieve lock on the pipeline operation, with lockf (fd [1], 0,0) lifting of the lock channel. Son process to achieve the synchronization, when the parent tried to read an empty pipe, they enter the wait state until the child process to write data pipeline to return only after its wake.
 Downloaders recently: [More information of uploader dd4251944]
 To Search:
File list (Check if you may need any files):
页面置换算法.doc
    

CodeBus www.codebus.net