Module Name: src
Committed By: christos
Date: Sun Dec 18 17:18:01 UTC 2016
Modified Files:
src/sys/sys: time.h
Log Message:
Change CLOCK_THREAD_CPUTIME_ID so that it is not negative; requested by joerg
this breaks ABI compatibility, but not much should be using this yet, since
it was recently added.
To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/sys/time.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/time.h
diff -u src/sys/sys/time.h:1.73 src/sys/sys/time.h:1.74
--- src/sys/sys/time.h:1.73 Thu Jul 7 02:55:44 2016
+++ src/sys/sys/time.h Sun Dec 18 12:18:01 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: time.h,v 1.73 2016/07/07 06:55:44 msaitoh Exp $ */
+/* $NetBSD: time.h,v 1.74 2016/12/18 17:18:01 christos Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@@ -284,7 +284,7 @@ struct itimerspec {
#define CLOCK_VIRTUAL 1
#define CLOCK_PROF 2
#define CLOCK_MONOTONIC 3
-#define CLOCK_THREAD_CPUTIME_ID 0x80000000
+#define CLOCK_THREAD_CPUTIME_ID 0x20000000
#define CLOCK_PROCESS_CPUTIME_ID 0x40000000
#if defined(_NETBSD_SOURCE)