MUTEX and CONDITION at process termination

Hello,

can anybody tell me, what happens inside QNX when a process that locked a
mutex gets terminated while still being the owner of this mutex? Is the
mutex freed by QNX or do I have to clean up something?
After terminatnig such a process, QNX hangs somewhere in the re-installation
of the mutex. What could this be?

Regards.

Nnamdi

Nnamdi Kohn <nnamdi.kohn@web.de> wrote:

Hello,

can anybody tell me, what happens inside QNX when a process that locked a
mutex gets terminated while still being the owner of this mutex? Is the
mutex freed by QNX or do I have to clean up something?

You have to clean it up.

Look at SyncMutexRevive() and SyncMutexEvent().

-David

David Gibbs
dagibbs@qnx.com