Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 383
  • Last Modified:

Posix and System V message Queue doubts

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
aravindhan
Asked:
aravindhan
1 Solution
 
JIEXACommented:
> 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
 
aravindhanAuthor Commented:
Thank you JIEXA for your comments, I still need to explore on how both sys V and POSIX are related internally...
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now