about summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-12-06 22:29:01 +0000
committerRoland McGrath <roland@gnu.org>2004-12-06 22:29:01 +0000
commit60fce589e8c4b177ee5025269987476826ab6b0f (patch)
treeea2607535f536f8a8ec0df8fac85847b4d16648a /libio
parentbc5cb1e6aaa5f50f7ec508c1f0c1d8a539da0fcd (diff)
downloadglibc-60fce589e8c4b177ee5025269987476826ab6b0f.tar.gz
glibc-60fce589e8c4b177ee5025269987476826ab6b0f.tar.xz
glibc-60fce589e8c4b177ee5025269987476826ab6b0f.zip
* sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Diagnose EINVAL
	for CLOCK_THREAD_CPUTIME_ID, not ENOTSUP.
	Use SYSDEP_NANOSLEEP handler before validating CLOCK_ID value.

	* rt/tst-timer4.c (TEST_CLOCK, TEST_CLOCK_NANOSLEEP): New macros.
	Use them throughout in place of CLOCK_REALTIME and nanosleep.
	(do_test) [TEST_CLOCK_MISSING]: Call this macro and if it returns
	non-null, punt the test with a message using the string returned.
	* rt/tst-timer5.c: New file.
	* rt/Makefile (tests): Add it.
Diffstat (limited to 'libio')
0 files changed, 0 insertions, 0 deletions