aboutsummaryrefslogtreecommitdiffstats
path: root/libc/bionic/posix_timers.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-04-30 09:45:40 -0700
committerElliott Hughes <enh@google.com>2014-04-30 10:06:09 -0700
commit0990d4fda898ada86e557f872f5cb7d16b138e3c (patch)
tree43cd74258c43e23e8008c15aebdb0a3efd476f6c /libc/bionic/posix_timers.cpp
parent77473e408504a7e298816b4071cd6902065b03d8 (diff)
downloadandroid_bionic-0990d4fda898ada86e557f872f5cb7d16b138e3c.tar.gz
android_bionic-0990d4fda898ada86e557f872f5cb7d16b138e3c.tar.bz2
android_bionic-0990d4fda898ada86e557f872f5cb7d16b138e3c.zip
Make SIGRTMIN hide the real-time signals we use internally.
__SIGRTMIN will continue to tell the truth. This matches glibc's behavior (as evidenced by the fact that we don't need a special case in the strsignal test now). Change-Id: I1abe1681d516577afa8cd39c837ef12467f68dd2
Diffstat (limited to 'libc/bionic/posix_timers.cpp')
-rw-r--r--libc/bionic/posix_timers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/bionic/posix_timers.cpp b/libc/bionic/posix_timers.cpp
index 59933ec78..312bf9e59 100644
--- a/libc/bionic/posix_timers.cpp
+++ b/libc/bionic/posix_timers.cpp
@@ -52,7 +52,7 @@ extern "C" int __timer_settime(__kernel_timer_t, int, const itimerspec*, itimers
// end up with one of our POSIX timer threads handling it (meaning that the intended recipient
// doesn't). glibc uses SIGRTMIN for its POSIX timer implementation, so in the absence of any
// reason to use anything else, we use that too.
-static const int TIMER_SIGNAL = SIGRTMIN;
+static const int TIMER_SIGNAL = (__SIGRTMIN + 0);
struct PosixTimer {
__kernel_timer_t kernel_timer_id;