]> git.ipfire.org Git - thirdparty/valgrind.git/commit
When a thread in a nanosleep() wait is interrupted by a non-restartable
authorJulian Seward <jseward@acm.org>
Thu, 6 Jun 2002 01:27:39 +0000 (01:27 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 6 Jun 2002 01:27:39 +0000 (01:27 +0000)
commit37a139e555e68b201b542aeee488593a1024bc41
tree5e9248cb6aa82652432afb1c2275ef073323433a
parentd71801987c8999c56313e880be7641cf039a56df
When a thread in a nanosleep() wait is interrupted by a non-restartable
signal, cause the nanoslep to return with EINTR.  Then, in the user-space
nonblocking select() implementation, notice this and correspondingly return
with EINTR.  This appears to fix the MySQL hang-at-exit problem.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@391
coregrind/arch/x86-linux/vg_libpthread.c
coregrind/vg_libpthread.c
coregrind/vg_scheduler.c
vg_libpthread.c
vg_scheduler.c