mq send/recv functions are cancellation points

This commit is contained in:
Rich Felker 2011-06-07 11:14:39 -04:00
parent ede353d8e5
commit 86f8c72bb1
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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);
}