Semester : SEMESTER 6
Subject : Embedded System
Year : 2018
Term : MARCH
Scheme : 2015 Full Time
Course Code : EC 308
Page:62
നനന
“7.14 0166 ۲٥۸۷۲۲۱0۸9 வகை
OS pipe functions are unlike message queue functions. The difference is that pipe func
wea used for devices such as file. ಟಕ
A message-pipe is a device for inserting (writing) and deleting (reading) from that between two given
interconnected tasks णि two sets of tasks. Writing and reading from a pipe is like using a C command fw rite
with a file name to write into a named file, and fread with a file name to read from a named file Pipes are also
like Java PipelnputOutputStreams.
1. One task using the function 1071९ in a set of tasks, can insert (write) fo a pipe at the back pointer
address, *pBACK.
2, Another task using the function fread in a set of tasks can delete (read) from a pipe at the front pointer
address, *pFRONT.