Changeset 5b951175 in rtems for cpukit/libpci/pci_print.c

Timestamp:
01/07/19 13:22:22 (5 years ago)
Author:
Jiri Gaisler <jiri@…>
Branches:
5, master
Children:
7802bb9
Parents:
9c12bcfd
git-author:
Jiri Gaisler <jiri@…> (01/07/19 13:22:22)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/07/19 13:23:50)
Message:

psxfile01: Fix one second sleep

Checking of atime in psxfile01 (line 713) can fail since a delay for
rtems_clock_get_ticks_per_second (line 699) gives a delay of less than
one second, depending on when the last tick occurred. atime is measured
in whole seconds, and a fast processor might read the file before a new
second occurs. Add one tick to the delay will solve the problem.

(No files)

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