When an application crashes...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alexander Dong Back Kim

    When an application crashes...

    Hi all,

    I'm working on a Linux machine and using g++. I'm developing an
    semaphore module for a number of applications in the system.

    My question scenario is, an application can lock a resource which is
    shared memory segment in this case, after they locked a segment and if
    they somehow crash then the lock won't be released because the
    application locked the resource is dead.

    I hope there must be a way to release the lock so solve this problem
    even the application is crashed unexpectedly.

    Any idea?

    best regards,

    Alex D. B. Kim
Working...