Date: Sat, 8 Nov 2003 01:20:03 -0800 (PST) From: Andrew Belashov <bel@tts.orel.ru> To: freebsd-threads@FreeBSD.org Subject: Re: bin/32295: pthread dont dequeue signals Message-ID: <200311080920.hA89K3Pn014017@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/32295; it has been noted by GNATS.
From: Andrew Belashov <bel@tts.orel.ru>
To: bel@orel.ru, freebsd-gnats-submit@FreeBSD.org, lwa@teaser.fr
Cc:
Subject: Re: bin/32295: pthread dont dequeue signals
Date: Sat, 8 Nov 2003 12:17:02 +0300
Hi!
I have a small patch for resolving this problem.
Patch tested on heavy load MySQL server 4.0.16.
------------------------------------------------------
--- src/lib/libc_r/uthread/uthread_sig.c.orig Wed Mar 5 07:28:08 2003
+++ src/lib/libc_r/uthread/uthread_sig.c Thu Nov 6 17:16:13 2003
@@ -160,8 +160,10 @@
_thread_sigq[sig - 1].signo = sig;
_sigq_check_reqd = 1;
}
- else
+ else {
DBG_MSG("Got signal %d, ignored.\n", sig);
+ _sigq_check_reqd = 1;
+ }
}
/*
* The signal handlers should have been installed so that they
------------------------------------------------------
With best regards,
Andrew Belashov.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311080920.hA89K3Pn014017>
