File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 668668 \begin {itemize }
669669 \item \emsl {POSIX shared memory} accessible via \funnm {shm\_ open}()
670670 \item \emsl {POSIX queues} \dots {} \funnm {mq\_ open}(),
671- \funnm {mq\_ send}(), \funnm {mq\_ receive}(), \dots {}
671+ \funnm {mq\_ send}(), \funnm {mq\_ receive}(), \dots {}
672672 \item \emsl {System V APIs} for queues, shared memory, and semaphores
673673 \end {itemize }
674674\item \emsl {sockets} come from the BSD world and allow communication in various
692692same system only. It has some interesting features - not only it can be used for
693693inter-process communication however it can be used in kernel to request a
694694service from a userland program.
695+ \item \texttt {shm\_ open } returns file descriptor that can be then
696+ mapped into process memory via \texttt {mmap } (see page \pageref {MMAP }).
697+ See \example {shm/shm.c}.
698+ On Linux, the shared segment is visible under \texttt {/dev/shm/ } directory,
699+ along with size and permissions. \texttt {shm\_ unlink } destroys the shared
700+ memory segment.
695701\end {itemize }
696702
697703\hlabel {SYNCHRONIZATIONEND}
You can’t perform that action at this time.
0 commit comments