Changeset 9921ab6 in rtems


Ignore:
Timestamp:
Dec 5, 2018, 9:03:13 AM (7 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
ef23838
Parents:
03e86553
git-author:
Sebastian Huber <sebastian.huber@…> (12/05/18 09:03:13)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/07/18 13:22:00)
Message:

psxtimes01: Fix sporadic failures

It is not enough to just wait for at least the first clock tick to get
non-zero times. In _times() we round down, so the uptime must be
greater than or equal to the clock tick interval. We do not know when
the timecounter is started during the system initialization. We have to
wait until at least two ticks happened.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.