- **status**: review --> fixed
- **assigned_to**: elunlen --> nobody
- **Comment**:
changeset: 8238:40a1fbe6bff2
tag: tip
parent: 8236:c6f7212ecc87
user: Lennart Lund <[email protected]>
date: Wed Oct 19 13:41:37 2016 +0200
summary: base: Add timer tool to osaf_time and base/time [#2090]
rev: 40a1fbe6bff2ea0f19ccba2eab08db0121e6a2b9
changeset: 8237:9fe09ec04a1f
branch: opensaf-5.1.x
parent: 8235:6b55bec9d9a0
user: Lennart Lund <[email protected]>
date: Wed Oct 19 13:41:37 2016 +0200
summary: base: Add timer tool to osaf_time and base/time [#2090]
rev: 9fe09ec04a1f9870b5d5f2cc950c01b82aee861e
---
** [tickets:#2090] base: Add timer tool to osaf_time**
**Status:** fixed
**Milestone:** 5.1.1
**Created:** Mon Oct 03, 2016 02:29 PM UTC by elunlen
**Last Updated:** Fri Oct 07, 2016 07:48 AM UTC
**Owner:** nobody
Add a tool that can be used to timeout e.g. loops based on real time clock.
Two functions will be added:
1)
static inline void set_millis_timeout(uint64_t i_millis, struct timespec* o_ts);
This function will read the realtime clock and add i_millis milliseconds to the
timespec struct
2)
static inline bool is_timeout(struct timespec* i_ts);
This function will read the real time clock and check if on or passed given time
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets