🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer.misc
1 messages
1 total messages Started by Keith Bennett Mon, 29 Aug 1994 17:01
Mutex Sempahore Question (Owner Died)
#212
Author: Keith Bennett
Date: Mon, 29 Aug 1994 17:01
17 lines
1731 bytes
We have an applications with multiple processes sharing mutex
semaphores.  Recently we had a problem where one of the processes 
would occasionally trap and abort that process.  (We have since fixed 
that problem.)  If it happened to own a semaphore when it died, all the 
other processes could not use that semaphore, since they would receive 
an error #105 (ERROR_SEM_OWNER_DIED).

Is there any way to create the semaphore such that if its owner dies, it 
is released automatically?  In our case, this might be helfpul.


Thanks for any answers... - Keith
-- 
--------------------------------------------------------------------------
Keith Bennett                            Bennett Business Solutions, Inc.
C++/C Software Development               1852 Middlebridge Drive
kbennett@cpcug.org                       Silver Spring, MD USA 20906
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads