mirror of git://git.musl-libc.org/musl
mq send/recv functions are cancellation points
This commit is contained in:
parent
ede353d8e5
commit
86f8c72bb1
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue