Unix ipc Mechanism 0th

Source: Internet
Author: User
Unix ipc Mechanism 0th

Two UNIX standards: 1. POSIX is a standard developed by IEEE (Institute for Electrical and Electronic Engineers) and is currently maintained by ISO/IEC. The POSIX standard consists of three parts: Part1 and Part2, known as posix.1 and posix.2, respectively.

  • System API for C Language
  • Shell and Utility
  • System Administration (in preparation ...)
2. x/o p e n is an international computer manufacturer organization. It proposes a 7-volume portability guide x/Open portabilityguide (x/o p e n portability guide) version 3rd (x/Open 1989 〕, we call it x p g 3. Later, the release of "X/open single UNIX specification" was called unix95. 1997 again, unix98 was released. In addition System V, Also known At&t System VIs one of the many versions of the UNIX operating system, and the other is BSD. It was initially developed by at&t and released for the first time in 1983. A total of four major versions of System V are released: versions 1, 2, 3, and 4. System V Release 4, or svr4, is the most successful version and becomes the source of Common Unix features. S Ystem V's IPC is required by open group's single UNIX Specification Version 2 [UNIX 98. Therefore, posix ipc and System v ipc are described in the book of UNIX inter-process communication.
POSIX and System V Support different messagequeue, shared memory, and semaphores. Pipes, FIFO, and record locking mechanisms are neither POSIX nor xpg standards.
Message transmission
Messagequeues Including POSIX messagequeue and systemv messagequeue
Pipe, FIFO
Synchronization Mechanism
Mutex, condition Variables
Read-write locks
Record locking
Semaphores
Shared Memory Including POSIX semaphores and systemv semaphores
Shared Memory Including POSIX sharememory and systemvmemory
Others
Doors and SunRPC

Linux IPC:

At first, Unix was developed into two branches: System V (system IPC) and BSD (socket IPC ). Linux integrates the IPC Mechanism of both. And implements posix ipc. For more information, see:Profound Understanding of Linux inter-process communication (IPC)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.