470,870 Members | 1,394 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,870 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 1081

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
By using this site, you agree to our Privacy Policy and Terms of Use.