Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #147918
| From | nobody@example.org (Scott) |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: [Linux] Global named interprocess mutex |
| Date | 2019-11-10 17:54 +0000 |
| Organization | XMission http://xmission.com/ |
| Message-ID | <5dc84e74.622161704@core> (permalink) |
| References | <18f48b11-ecf6-4340-af89-c98cec9eb6ab@googlegroups.com> |
On Sun, 10 Nov 2019 06:12:34 -0800 (PST), Frederick Gotham <cauldwell.thomas@gmail.com> wrote: >This interprocess mutex is actually quite clean and works quite well, but I= >'m able to break everything by doing this: >If I get one of the processes to perform a time-consuming operation (e.g. 6= > seconds), and if I hit Ctrl + C on this process when it's doing this, then= > it kills the process. . . and my global mutex remains locked! So now nobod= >y can use the hardware! Sorry if I'm belaboring the obvious, but are you attempting to catch the interrupt signal so that you can end the process cleanly?
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[Linux] Global named interprocess mutex Frederick Gotham <cauldwell.thomas@gmail.com> - 2019-11-10 06:12 -0800
Re: [Linux] Global named interprocess mutex Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-11-10 17:51 +0000
Re: [Linux] Global named interprocess mutex gazelle@shell.xmission.com (Kenny McCormack) - 2019-11-10 21:16 +0000
Re: [Linux] Global named interprocess mutex Sjouke Burry <burrynulnulfour@ppllaanneett.nnll> - 2019-11-10 23:00 +0100
Re: [Linux] Global named interprocess mutex nobody@example.org (Scott) - 2019-11-10 17:54 +0000
Re: [Linux] Global named interprocess mutex "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2019-11-10 15:03 -0800
csiph-web