Content deleted Content added
→Main IPC methods: Added a newline to the "Signals" OS description to shorten the length of the run-on table entry |
Compynerd255 (talk | contribs) →Main IPC Methods: Added short explanations to each item in table. |
||
Line 16:
== Main IPC methods ==
{| class="wikitable"
! Method !! Short Description !! Provided by ([[operating system]]s or other environments)
|-
| [[computer file|File]] || A record stored on disk <br /> that can be accessed by name <br /> by any process || Most operating systems
|-
| [[signal (computing)|Signal]] || A system message sent from <br /> one process to another, not <br /> usually used to store information but <br /> instead give commands. || Most operating systems; some systems, such as Windows, implement signals in only <br />
the C run-time library and provide no support for their use as an IPC method {{Citation needed|date=November 2011}}
|-
| [[network socket|Socket]] || A data stream sent over <br /> a network interface, either to a different process <br /> on the same computer or to another computer || Most operating systems
|-
| [[Message queue]] || An anonymous data stream <br /> similar to the pipe, but <br /> stores and retrieves information in [[packets]]. || Most operating systems
|-
| [[pipeline (Unix)|Pipe]] || A two-way data stream interfaced through <br /> [[standard input and output]] and is read <br /> character by character. || All [[POSIX]] systems, Windows
|-
| [[Named pipe]] || A pipe implemented through a file <br /> on the file system instead of <br /> [[standard input and output]]. || All POSIX systems, Windows
|-
| [[semaphore (programming)|Semaphore]] || A simple structure that synchronizes threads <br /> or processes acting on shared resources. || All POSIX systems, Windows
|-
| [[Shared memory]] || Multiple processes given access to the <br /> same [[Memory_(computing)|memory]], allowing all to change it <br /> and read changes made by other processes. || All POSIX systems, Windows
|-
| [[Message passing]]<br />(shared nothing) || Similar to the message queue. || Used in [[Message Passing Interface|MPI]] paradigm, [[Java RMI]], [[CORBA]], [[Data Distribution Service | DDS]], [[Microsoft Message Queuing|MSMQ]], [[MailSlot]]s, [[QNX]], others
|-
| [[Memory-mapped file]] || A file mapped to [[RAM]] and can be modified <br /> by changing memory addresses directly instead <br /> of outputting to a stream, <br /> shares same benefits as a standard [[File_(computing)|file]]. || All POSIX systems, Windows
|-
|}
|