Is there command to show Posix semaphore?

Hi,

I am writing a program in client/server mode. Client and server communicate through shared memory and semaphore.

I use Posix 4 semaphore (sem_open ...) library. For an unknown reason, I have no permission to generate the semaphore using a specific path name. I can delete system V semaphore using ipcrm. How can I delete the posix semaphore using command like ipcrm? Thanks a lot.

slownet

[425 byte] By [slownet] at [2007-11-14]
# 1

there is no command line equivalent to ipcrm for posix thread

chaeck man -s 1 sema, you will get with nothing

Also, please send us the testcase what you are doing with sem_open

with the compilation option and the running.

When call sem_open system call what is the return code?

Please send the info at jagruti.trivedi@eng.sun.com

jagruti at 2007-7-5 > top of java,Solaris Operating System,Solaris Essentials - General Technical Questions...