Implementing IPC with UNIX Message Queuing (ATM as an example)

Source: Internet
Author: User

Qingming Holiday three days did not out of the bedroom door, first put the independent blog toss good. The domain name is not well filed. Domain name is ilovecpp.com, meaning "I love C + +", good shy, hide face, escape:). Words cnblogs.com the interface is ugly. Most of the rest of the time is to toss this small project, Unix kernel functions of various structures, flags even check man manual or look at the head big. Fortunately, it has been achieved.

Knowledge points to use:

  1. Unix System IO Open Lseek write read
  2. Process Control includes vfork (), waitpid ...
  3. Signal operation (say the server side of the signal operation can be signal is completely enough, I still take a step, plus sigaction, and sigqueue, have time, wayward ⊙﹏⊙)
  4. The most important thing is the message queue, the delivery is OK, received in the mtype on a lot of circles, the code has specific comments.

Code or tomorrow, now "April 7, 2015 02:13:59", the time is really fast. Mom eggs have classes in the morning and go to bed.

Implementing IPC with UNIX Message Queuing (ATM as an example)

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.