This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: question about which sleep is noted in manual
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: MaShimiao <mashimiao dot fnst at cn dot fujitsu dot com>
- Cc: <libc-alpha at sourceware dot org>, <codonell at redhat dot com>
- Date: Mon, 05 Jan 2015 22:10:28 -0200
- Subject: Re: question about which sleep is noted in manual
- Authentication-results: sourceware.org; auth=none
- References: <547ED48B dot 2060509 at cn dot fujitsu dot com> <oregs9zvl2 dot fsf at free dot home> <5487EAF0 dot 70305 at cn dot fujitsu dot com> <orfvcd7a7a dot fsf at free dot home> <549787C1 dot 9020807 at cn dot fujitsu dot com> <orvbl35yq5 dot fsf at free dot home> <ormw6e4zs3 dot fsf at free dot home>
On Dec 23, 2014, Alexandre Oliva <aoliva@redhat.com> wrote:
> I have also verified that, without the change to sleep.c, the test
> fails.
> I don't think this is user-visible enough to deserve a bug report and a
> mention in NEWS, but if anyone disagrees with this assessment, please
> let me now and I'll file the bug report and adjust the patch.
> Ok to install?
> for ChangeLog
> * nptl/Makefile (tests): Add tst-sleep-cancel.
> * nptl/tst-sleep-cancel.c: New.
> * sysdeps/unix/sysv/linux/sleep.c: Include bits/libc-lock.h.
> (__sleep): Enable cleanup handler to restore the signal mask
> at least on synchronous cancellation.
> * intro/time.texi (sleep): Expand unsafety rationale.
Ping?
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist|Red Hat Brasil GNU Toolchain Engineer