Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #814970
| From | Ian Jackson <ijackson@chiark.greenend.org.uk> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#858555: chiark-utils-bin: [patch] add timeout option to with-lock-ex |
| Date | 2017-03-23 17:00 +0100 |
| Message-ID | <todjA-4ib-25@gated-at.bofh.it> (permalink) |
| References | <toa2m-28N-23@gated-at.bofh.it> <tocGS-3Wl-9@gated-at.bofh.it> <todjA-4ib-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Matthew Vernon writes ("Re: Bug#858555: chiark-utils-bin: [patch] add timeout option to with-lock-ex"):
> >> + } else alarmed=0;
> >> + }
> >
> > What ? (Also, ewww at your coding style.)
>
> I was considering the possibility of a SIGALRM coming from somewhere
> else before the timer had expired (at which point, you'd go round the
> loop again, and want alarmed=0 until our itimer expired).
Oh. That would have been racy. To cope with spurious SIGALRMs would
involve a lot of pratting abouot with sigprocmask etc. Let's not.
Thanks,
Ian.
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#858555: chiark-utils-bin: [patch] add timeout option to with-lock-ex Matthew Vernon <matthew@debian.org> - 2017-03-23 13:30 +0100
Bug#858555: chiark-utils-bin: [patch] add timeout option to with-lock-ex Ian Jackson <ijackson@chiark.greenend.org.uk> - 2017-03-23 16:20 +0100
Bug#858555: chiark-utils-bin: [patch] add timeout option to with-lock-ex Ian Jackson <ijackson@chiark.greenend.org.uk> - 2017-03-23 16:20 +0100
Bug#858555: chiark-utils-bin: [patch] add timeout option to with-lock-ex Matthew Vernon <matthew@debian.org> - 2017-03-23 18:30 +0100
Bug#858555: chiark-utils-bin: [patch] add timeout option to with-lock-ex Ian Jackson <ijackson@chiark.greenend.org.uk> - 2017-03-23 19:40 +0100
Bug#858555: chiark-utils-bin: [patch] add timeout option to with-lock-ex Matthew Vernon <matthewv@chiark.greenend.org.uk> - 2017-03-24 14:40 +0100
Bug#858555: chiark-utils-bin: [patch] add timeout option to with-lock-ex Ian Jackson <ijackson@chiark.greenend.org.uk> - 2017-03-23 17:00 +0100
Bug#858555: chiark-utils-bin: [patch] add timeout option to with-lock-ex Matthew Vernon <matthew@debian.org> - 2017-03-23 17:10 +0100
csiph-web