Skip to content

Message Receive timeout if system clock changes? #691

Answered by jphickey
irowebbn asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for reporting this! This indeed is a problem with the underlying posix API. I looked into it and there may be some methods to get it to use CLOCK_MONOTONIC instead of CLOCK_REALTIME. Will write up an issue over in OSAL and maybe we can do something there.

In the meantime - yes, if you send a benign message (like a no-op command or something) that should wake up the task and get it unblocked. In practice, most CFE SB pipes have some periodic traffic so that's probably why this anomaly hadn't been observed.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jphickey
Comment options

@irowebbn
Comment options

Answer selected by skliper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants