This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.11-57-g02a52de
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 30 Nov 2009 16:25:27 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.11-57-g02a52de
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 02a52de084cfbd7d664ddbd00266de790c7faa98 (commit)
from ebb92a491fadc4e588ba090c5b27185d442ffd5d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=02a52de084cfbd7d664ddbd00266de790c7faa98
commit 02a52de084cfbd7d664ddbd00266de790c7faa98
Author: Ulrich Drepper <drepper@redhat.com>
Date: Mon Nov 30 08:24:59 2009 -0800
Define SCHED_IDLE and SCHED_RESET_ON_FORK for Linux.
diff --git a/ChangeLog b/ChangeLog
index 1b487ec..4aa537f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-30 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/unix/sysv/linux/bits/sched.h: Define SCHED_IDLE and
+ SCHED_RESET_ON_FORK.
+
2009-11-26 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Avoid code
diff --git a/sysdeps/unix/sysv/linux/bits/sched.h b/sysdeps/unix/sysv/linux/bits/sched.h
index 18269a9..8ba9eed 100644
--- a/sysdeps/unix/sysv/linux/bits/sched.h
+++ b/sysdeps/unix/sysv/linux/bits/sched.h
@@ -27,11 +27,14 @@
/* Scheduling algorithms. */
-#define SCHED_OTHER 0
-#define SCHED_FIFO 1
-#define SCHED_RR 2
+#define SCHED_OTHER 0
+#define SCHED_FIFO 1
+#define SCHED_RR 2
#ifdef __USE_GNU
-# define SCHED_BATCH 3
+# define SCHED_BATCH 3
+# define SCHED_IDLE 5
+
+# define SCHED_RESET_ON_FORK 0x40000000
#endif
#ifdef __USE_MISC
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/unix/sysv/linux/bits/sched.h | 11 +++++++----
2 files changed, 12 insertions(+), 4 deletions(-)
hooks/post-receive
--
GNU C Library master sources