Solved

Posix and System V message Queue doubts

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

867 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

12 Experts available now in Live!

Get 1:1 Help Now