提交 86f8c72b 编写于 作者: R Rich Felker

mq send/recv functions are cancellation points

上级 ede353d8
......@@ -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);
}
......@@ -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);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册