Notes, abstracts, papers, exams and problems of Computers

Sort by
Subject
Level

Shared Memory in IPC: Features and Creation

Classified in Computers

Written at on English with a size of 2.8 KB.

Common Features of IPC Light Mechanisms

These mechanisms are implemented as a unit and share common features, including:

  • All mechanisms have a table whose entries describe their usage. Each table entry has a numerical key chosen by the user.
  • Each mechanism has a 'get' call to create a new entry or retrieve an existing one. The parameters of this call include a key and a mask of flags. The kernel searches the table for an entry that matches the provided key.
  • If the key is set to IPC_PRIVATE, the kernel occupies the first free entry. Subsequent calls will return this entry until it is released.
  • If the IPC_CREAT flag is active in the mask, the kernel creates a new entry if there is no match for the provided key. If both IPC_CREAT and IPC_EXCL flags
... Continue reading "Shared Memory in IPC: Features and Creation" »