summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-06-07 11:14:39 -0400
committerRich Felker <dalias@aerifal.cx>2011-06-07 11:14:39 -0400
commit86f8c72bb1cc1fad05e1ed1b2a6f4433defc9cf7 (patch)
treeba27fbea44557839f5f864d1ba78c7bf675dfac6
parentede353d8e5c9198cf467aad95e49a496020898ed (diff)
downloadmusl-86f8c72bb1cc1fad05e1ed1b2a6f4433defc9cf7.tar.gz
musl-86f8c72bb1cc1fad05e1ed1b2a6f4433defc9cf7.tar.bz2
musl-86f8c72bb1cc1fad05e1ed1b2a6f4433defc9cf7.tar.xz
musl-86f8c72bb1cc1fad05e1ed1b2a6f4433defc9cf7.zip
mq send/recv functions are cancellation points
-rw-r--r--src/mq/mq_timedreceive.c2
-rw-r--r--src/mq/mq_timedsend.c2
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);
}