Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Change CLOCK_THREAD_CPUTIME_ID so that it is not neg...
details: https://anonhg.NetBSD.org/src/rev/06c5913e87ae
branches: trunk
changeset: 819819:06c5913e87ae
user: christos <christos%NetBSD.org@localhost>
date: Sun Dec 18 17:18:01 2016 +0000
description:
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.
diffstat:
sys/sys/time.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 152e3da5788f -r 06c5913e87ae sys/sys/time.h
--- a/sys/sys/time.h Sun Dec 18 16:58:16 2016 +0000
+++ b/sys/sys/time.h Sun Dec 18 17:18:01 2016 +0000
@@ -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 @@
#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)
Home |
Main Index |
Thread Index |
Old Index