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: 19)

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
  ppt of digital image processing by nptel Guest 1 207 Yesterday 05:00 PM
Last Post: jaseela123
  a gps based debris removal system ppt Guest 1 153 Yesterday 04:38 PM
Last Post: jaseela123
Rainbow ppt screw jack with worm gear Guest 1 128 Yesterday 04:33 PM
Last Post: jaseela123
  pneumatic forging machine ppt Guest 1 160 Yesterday 04:18 PM
Last Post: jaseela123
  pharmacology seminar topics ppt Guest 0 0 Yesterday 04:08 PM
Last Post: Guest
  role of bacteriocin on food safety ppt Guest 1 0 Yesterday 03:59 PM
Last Post: jaseela123
  fuzzy logic artificial intelligence ppt Guest 1 0 Yesterday 03:43 PM
Last Post: jaseela123
  electromagnetic braking system ppt Guest 1 0 Yesterday 03:30 PM
Last Post: jaseela123
Star role of media in social awareness ppt Guest 1 183 Yesterday 03:08 PM
Last Post: jaseela123
  industrial production protease enzyme ppt Guest 1 133 Yesterday 01:27 PM
Last Post: jaseela123
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: