Solved

Posix and System V message Queue doubts

Posted on 2002-07-08
2
363 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now