Skip to content
This repository was archived by the owner on Jan 16, 2020. It is now read-only.

Swiched Nuttx build to use CLOCK_REALTIME#83

Closed
mcharleb wants to merge 2 commits intomasterfrom
nuttx_fixes_for_clock_monotonic
Closed

Swiched Nuttx build to use CLOCK_REALTIME#83
mcharleb wants to merge 2 commits intomasterfrom
nuttx_fixes_for_clock_monotonic

Conversation

@mcharleb
Copy link
Copy Markdown
Contributor

NuttX doesn't seem to support CLOCK_MONOTONIC

pthread_cond_timewait in NuttX uses CLOCK_REALTIME

Signed-off-by: Mark Charlebois charlebm@gmail.com

NuttX doesn't seem to support CLOCK_MONOTONIC

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
LorenzMeier pushed a commit to PX4/PX4-Autopilot that referenced this pull request May 23, 2016
See required DriverFramework change:

   PX4/DriverFramework#83

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
Comment thread framework/src/SyncObj.cpp Outdated
@@ -53,7 +53,7 @@ SyncObj::SyncObj()

// QURT always uses CLOCK_MONOTONIC.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should update the commend here.

@julianoes
Copy link
Copy Markdown
Contributor

The change looks correct (I checked the NuttX source), however, I think it would be good to update the comment.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
@mcharleb
Copy link
Copy Markdown
Contributor Author

@julianoes Let me know if you are happy with the updated comment on the use of CLOCK_MONOTONIC

@julianoes
Copy link
Copy Markdown
Contributor

Thanks for the comment fix @mcharleb, rebased and applied.

@julianoes julianoes closed this May 26, 2016
@julianoes julianoes deleted the nuttx_fixes_for_clock_monotonic branch May 26, 2016 09:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants