Solved

Posix and System V message Queue doubts

Posted on 2002-07-08
2
367 Views
Last Modified: 2013-12-26
Sys V
-----
I have a C program named 'X' uses System V message Queue and communicates to a program called 'Y'.

Posix
-----
I have another C program named 'A' which unlinks a Posix Message Queue twice.  While first unlink, the original posix message queue is deleted.  When second unlink is made, the system V message queue described above is removed.

This issue happened in Production server, and I couldnt simulate the scenario.

Please let me know whether there is any relation between Posix and System V message queue handlings.
0
Comment
Question by:aravindhan
2 Comments
 
LVL 8

Accepted Solution

by:
JIEXA earned 150 total points
ID: 7294980
> Please let me know whether there is any relation between > Posix and System V message queue handlings.

Usually, one is implemented in the terms of the other.

Another possibility, there is a common (OS specific) base
for both System V and POSIX facilities.

For example (AFAIK), Solaris threads and POSIX threads on Solaris (2.6, possibly) both are implemented in the terms of Light-Weight Processes (LWP).
0
 

Author Comment

by:aravindhan
ID: 7301004
Thank you JIEXA for your comments, I still need to explore on how both sys V and POSIX are related internally...
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question