Important: Use custom search function to get better results from our thousands of pages

Use " " for compulsory search eg:"electronics seminar" , use -" " for filter something eg: "electronics seminar" -"/tag/" (used for exclude results from tag pages)


 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PIPE PPT
Post: #1

PIPE



.pptx  pipe.pptx (Size: 322.57 KB / Downloads: 20)

Pipe is a device used for the interprocess communication
Pipe has the functions create, connect and delete and functions similar to a
device driver (open, write, read, close)

Writing and reading a Pipe

A message-pipe─ a device for inserting (writing) and deleting (reading) from that between two given inter-connected tasks or two sets of tasks.
Writing and reading from a pipe is like
using a C command fwrite with a file name
to write into a named file, and C command
fread with a file name to read into a named
file.

Write and read using Pipe

1. One task using the function fwrite in a set
of tasks can write to a pipe at the back
pointer address, *pBACK.
2. One task using the function fwrite in a set
of tasks can read from a pipe at the front
pointer address, *pFRONT

Pipe as IO Stream

Pipes are also like Java Piped Input Output Streams. Java defines the classes for the input output streams

Pipe Messages

In a pipe there may be no fixed number of
bytes per message with an initial pointer for
the back and front and there may be a
limiting final back pointer.
• A pipe can therefore be limited and have a
variable number of bytes per message
between the initial and final pointers

Unidirectional feature in Pipe

Pipe is unidirectional. One thread or task
inserts into it and other one deletes from it.

Pipe-device Functions

1. pipeDevCreate ─ for creating a device
2. open ( ) ─ for opening the device to enable its
use from beginning of its allocated buffer, its
use with option and restrictions or permissions
defined at the time of opening.
3. connect ( ) ─ for connecting a thread or task
inserting bytes into the pipe to the thread or
task deleting bytes from the pipe.
4. write ( ) ─ function for inserting (writing) into
the pipe from the bottom of the empty memory
space in the buffer allotted to it.
5. read ( )─ function for deleting (reading) from the pipe from the bottom of the unread
memory spaces in the buffer filled after
writing into the pipe.
6. close ( ) ─ for closing the device to enable its
use from beginning of its allocated buffer only
after opening it again..
 

Marked Categories : seminar topics on pipes for computer science,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Image Verification
(case insensitive)
Please enter the text within the image on the left in to the text box below. This process is used to prevent automated posts.

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Thumbs Up a project report on college alumni assosition in php ppt Guest 0 0 23-07-2017 03:43 PM
Last Post: Guest
  seminar report high rise buildings ppt Guest 0 0 22-07-2017 12:25 PM
Last Post: Guest
  what is 7 qc tools in hindi ppt Guest 4 2,248 21-07-2017 05:24 PM
Last Post: Guest
  gear hobs project report and ppt Guest 0 0 20-07-2017 03:08 PM
Last Post: Guest
  polytronics free ppt download Guest 0 0 16-07-2017 04:43 PM
Last Post: Guest
Smile advance technology in automobiles ppt Guest 0 201 16-07-2017 12:20 AM
Last Post: Guest
  harnessing light of possibilities and challenges ppt Guest 0 1,101 16-07-2017 12:20 AM
Last Post: Guest
  download ppt for ieee paper efficient authentication for mobile n pervasive computing Guest 0 253 16-07-2017 12:20 AM
Last Post: Guest
  seminar ppt on internet time theft Guest 0 168 16-07-2017 12:20 AM
Last Post: Guest
Smile laser broadband from nasa semin ppt Guest 0 280 16-07-2017 12:20 AM
Last Post: Guest
This Page May Contain What is PIPE PPT And Latest Information/News About PIPE PPT,If Not ...Use Search to get more info about PIPE PPT Or Ask Here

Options: