The NetBSD Project

CVS log for src/tests/lib/libc/sys/t_timerfd.c

[BACK] Up to [] / src / tests / lib / libc / sys

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jul 8 15:32:58 2023 UTC (7 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.4: +17 -5 lines
Diff to previous 1.4 (colored)

t_timerfd: Sprinkle slightly more diagnostics.

Might help us to see if we're off by just a little bit (maybe a tiny
jitter between the hardclock timer and the monotonic clock), or if
something is seriously amiss when the timerfd_block test fails

Revision 1.4 / (download) - annotate - [select for diffs], Sun Feb 20 15:21:14 2022 UTC (2 years ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.3: +43 -2 lines
Diff to previous 1.3 (colored)

Validate basic fcntl(2) behavior for eventfd and timerfd.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Nov 1 14:33:41 2021 UTC (2 years, 3 months ago) by hannken
Branch: MAIN
Changes since 1.2: +31 -8 lines
Diff to previous 1.2 (colored)

Test lib/libc/sys/t_timerfd often fails when run on QEMU because
QEMU misses clock interrupts.

Always check values against [ lower, upper ] bounds and use "4 * upper"
when run under QEMU.

Now becomes part of PR kern/43997 "Kernel timer discrepancies".

Revision 1.2 / (download) - annotate - [select for diffs], Sun Sep 19 15:51:28 2021 UTC (2 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +602 -0 lines
Diff to previous 1.1 (colored)

Add native implementations of eventfd(2) and timerfd(2), compatible with
the Linux interfaces of the same name.

Revision / (download) - annotate - [select for diffs], Mon Dec 14 16:55:51 2020 UTC (3 years, 2 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.1: +625 -0 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Unit tests for timerfd.

Revision 1.1, Mon Dec 14 16:55:51 2020 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-futex

file t_timerfd.c was initially added on branch thorpej-futex.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>