summaryrefslogtreecommitdiff
path: root/test/pthread/cancellation-points.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-01-29 15:46:50 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-01-29 18:23:10 +0100
commitfba639dcdcc2f3fede71e8bcd1a1a525a7f57d61 (patch)
tree9da29168d05b6b90d984fb19e33c0e2b7f906058 /test/pthread/cancellation-points.c
parent29962e14a1144ec4f9cfac8ab8a51af2b5692317 (diff)
handle signal-OBXSI.SUSv4.syms
A couple of sig functions are obsolete in SUSv4. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'test/pthread/cancellation-points.c')
-rw-r--r--test/pthread/cancellation-points.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/pthread/cancellation-points.c b/test/pthread/cancellation-points.c
index c7e784e4f..5453060f7 100644
--- a/test/pthread/cancellation-points.c
+++ b/test/pthread/cancellation-points.c
@@ -141,7 +141,9 @@ MAKE_CANCEL_THREAD_FUNC_EX(sem_wait, (&sem), help_sem_setup())
MAKE_CANCEL_THREAD_FUNC(send, (-1, NULL, 0, 0))
MAKE_CANCEL_THREAD_FUNC(sendmsg, (-1, NULL, 0))
MAKE_CANCEL_THREAD_FUNC(sendto, (-1, NULL, 0, 0, NULL, 0))
+#ifdef __UCLIBC_SUSV4_LEGACY__
MAKE_CANCEL_THREAD_FUNC(sigpause, (0))
+#endif
MAKE_CANCEL_THREAD_FUNC(sigsuspend, (NULL))
MAKE_CANCEL_THREAD_FUNC(sigtimedwait, (NULL, NULL, NULL))
MAKE_CANCEL_THREAD_FUNC(sigwait, (NULL, NULL))