468,484 Members | 1,769 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,484 developers. It's quick & easy.

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
Apr 11 '08 #1
0 1043

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Benoit Martin | last post: by
2 posts views Thread by steingold | last post: by
58 posts views Thread by Jorge Peixoto de Morais Neto | last post: by
1 post views Thread by =?Utf-8?B?SmVycnk=?= | last post: by
reply views Thread by NPC403 | last post: by
2 posts views Thread by gieforce | last post: by
reply views Thread by theflame83 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.