Skip to content

wrapper functions for POSIX message queue functions mq_timedreceive and mq_timedsend that accept as parameter clock MONOTONIC instead of clock REAL TIME.

Notifications You must be signed in to change notification settings

tomoss/mq_timed_with_monotonic_clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POSIX Message Queue functions that accept timeout of type CLOCK_MONOTONIC

The POSIX message queue functions:

mq_timedreceive
mq_timedsend

are limitied to using CLOCK_REALTIME as timeout parameter.

Here is an implementation of two wrapper functions for them, named:

mq_timedreceive_monotonic
mq_timedsend_monotonic

that accept as timeout parameter CLOCK_MONOTONIC.

Implementation was done using linux API poll()

About

wrapper functions for POSIX message queue functions mq_timedreceive and mq_timedsend that accept as parameter clock MONOTONIC instead of clock REAL TIME.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published