Sponsored Content
Full Discussion: Best way to go about this?
Homework and Emergencies Emergency UNIX and Linux Support Best way to go about this? Post 302706941 by alister on Thursday 27th of September 2012 05:29:37 PM
Old 09-27-2012
A dozen descriptors isn't very many. I'd just keep them open.

Regards,
Alister
This User Gave Thanks to alister For This Post:
 
pipcrm(1)						      General Commands Manual							 pipcrm(1)

NAME
pipcrm - remove a POSIX message queue or a POSIX named semaphore SYNOPSIS
[option]... DESCRIPTION
The command removes one or more specified POSIX message queue or POSIX named semaphore. Options The identifiers are specified by the following options: Unlinks the queue name from the message queue specified by the argument, msqname. If there are no processes with existing open descriptors for the message queue, the queue is destroyed. If one or more processes have the message queue open, the removal of the queue is postponed until all descriptors for the queue have been closed. Unlinks the semaphore name from the semaphore specified by the argument, semname. If there are no processes with existing open descriptors for the semaphore, the semaphore is destroyed. If one or more processes have the semaphore open, the removal of the semaphore is postponed until all descriptors for the semaphore have been closed. The details of the removals are described in mq_unlink(2), and sem_unlink(2). The names can be found by using (see pipcs(1)). SEE ALSO
pipcs(1), mq_unlink(2), mq_open(2), mq_send(2), mq_receive(2), sem_unlink(2), sem_open(2), sem_wait(2), sem_post(2). STANDARDS CONFORMANCE
pipcrm(1)
All times are GMT -4. The time now is 01:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy