about summary refs log tree commit diff
path: root/src/mq/mq_timedreceive.c
Commit message (Collapse)AuthorAgeFilesLines
* mq_timedsend, mq_timedreceive: add time64, decouple 32-bit time_tRich Felker2019-07-281-0/+17
| | | | | | | | | | | time64 syscall is used only if it's the only one defined for the arch, or if the requested absolute timeout does not fit in 32 bits. on current 32-bit archs where time_t is a 32-bit type, this makes it statically unreachable. on 64-bit archs, there is no change to the code after preprocessing. on current 32-bit archs, the timeout is passed via an intermediate copy to remove the assumption that time_t is a 32-bit type.
* use restrict everywhere it's required by c99 and/or posix 2008Rich Felker2012-09-061-1/+1
| | | | | | | | to deal with the fact that the public headers may be used with pre-c99 compilers, __restrict is used in place of restrict, and defined appropriately for any supported compiler. we also avoid the form [restrict] since older versions of gcc rejected it due to a bug in the original c99 standard, and instead use the form *restrict.
* mq send/recv functions are cancellation pointsRich Felker2011-06-071-1/+1
|
* add support for POSIX message queues, except mq_notifyRich Felker2011-06-071-0/+7