Changeset 0384428 in mainline for libc/generic/time.c
- Timestamp:
- 2006-06-13T12:03:15Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7a0c530
- Parents:
- f8d5b85
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libc/generic/time.c
rf8d5b85 r0384428 60 60 * them periodically. As it is impossible to read 2 values atomically, we 61 61 * use a trick: First read a seconds, then read microseconds, then 62 * read seconds again. If a second elapsed in the meantime, read63 * useconds again.This provides assurance, that at least the62 * read seconds again. If a second elapsed in the meantime, set it to zero. 63 * This provides assurance, that at least the 64 64 * sequence of subsequent gettimeofday calls is ordered. 65 65 */
Note:
See TracChangeset
for help on using the changeset viewer.