From 86f8c72bb1cc1fad05e1ed1b2a6f4433defc9cf7 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 7 Jun 2011 11:14:39 -0400 Subject: [PATCH] mq send/recv functions are cancellation points --- src/mq/mq_timedreceive.c | 2 +- src/mq/mq_timedsend.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mq/mq_timedreceive.c b/src/mq/mq_timedreceive.c index ad705f8b..099f213a 100644 --- a/src/mq/mq_timedreceive.c +++ b/src/mq/mq_timedreceive.c @@ -3,5 +3,5 @@ ssize_t mq_timedreceive(mqd_t mqd, char *msg, size_t len, unsigned *prio, const struct timespec *at) { - return syscall(SYS_mq_timedreceive, mqd, msg, len, prio, at); + return syscall_cp(SYS_mq_timedreceive, mqd, msg, len, prio, at); } diff --git a/src/mq/mq_timedsend.c b/src/mq/mq_timedsend.c index edbaccf9..1c00aa0b 100644 --- a/src/mq/mq_timedsend.c +++ b/src/mq/mq_timedsend.c @@ -3,5 +3,5 @@ int mq_timedsend(mqd_t mqd, const char *msg, size_t len, unsigned prio, const struct timespec *at) { - return syscall(SYS_mq_timedsend, mqd, msg, len, prio, at); + return syscall_cp(SYS_mq_timedsend, mqd, msg, len, prio, at); } -- GitLab