Overview
Features
Download
Documentation
Community
Add-Ons & Services

How to delete the OS resource behind Poco::NamedMutex?

Please post support and help requests here.

How to delete the OS resource behind Poco::NamedMutex?

Postby scottie » 11 Jul 2012, 09:24

Hi,

How can I delete the actual OS resource used by Poco::NamedMutex?

Currently I'm having to run a separate shell command to cleanup. ie. ipcrm -i $id -s

Thanks,

Scott. :)
scottie
 
Posts: 1
Joined: 11 Jul 2012, 08:31

Re: How to delete the OS resource behind Poco::NamedMutex?

Postby marlowabnp » 13 Jul 2012, 09:44

I would also like to know the answer to this, if there is one. Poco named mutexes on Windoze always seem to clean up after themselves ok. I haven't used them on UNIX yet but I can see from the code that they use SYSV semaphores. These are notorious for needing cleanup when processes using them are terminated unexpectedly. Perhaps this is a matter of documentation....
marlowabnp
 
Posts: 78
Joined: 08 Nov 2010, 17:29

Re: How to delete the OS resource behind Poco::NamedMutex?

Postby marlowabnp » 19 Jan 2013, 20:27

marlowabnp wrote:I would also like to know the answer to this, if there is one. Poco named mutexes on Windoze always seem to clean up after themselves ok. I haven't used them on UNIX yet but I can see from the code that they use SYSV semaphores. These are notorious for needing cleanup when processes using them are terminated unexpectedly. Perhaps this is a matter of documentation....
I am still waiting and hoping for an answer on this one from the main poco developers.
marlowabnp
 
Posts: 78
Joined: 08 Nov 2010, 17:29


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest