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
  hydralic hand operated pipe bending machine Guest 1 341 17-11-2017 12:30 PM
Last Post: jaseela123
  heat pipe seminar ppt with full download Guest 1 171 09-10-2017 03:45 PM
Last Post: jaseela123
  Hydraulic Pipe Bending Machine Guest 1 268 09-10-2017 03:35 PM
Last Post: jaseela123
  ppt of vertical lift mechanism ppt Guest 1 508 04-10-2017 11:56 AM
Last Post: jaseela123
  Hydraulic Pipe Bending Machine Guest 1 350 02-10-2017 11:08 AM
Last Post: jaseela123
  SHAFT COUPLING AND PIPE JOINTS seminar tips 1 868 21-09-2017 11:20 AM
Last Post: jaseela123
  PLASTIC PIPE COMPRESSION TESTING MACHINE ppt study tips 1 1,124 15-09-2017 03:13 PM
Last Post: jaseela123
  PIPE SURFACE INSPECTION BY INDUSTRIAL MACHINE VISION PPT study tips 1 625 11-09-2017 02:45 PM
Last Post: jaseela123
  the project involved the study of corrosion in gas collecting main pipe in coke plant subine 1 130 31-08-2017 04:46 PM
Last Post: jaseela123
  fabrication for pedal operation of pipe cutting machine Guest 1 200 14-08-2017 01:23 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: