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.23-107-g4d10ceb
- From: sthibaul at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 20 Mar 2016 21:12:30 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.23-107-g4d10ceb
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 4d10ceb2b2f199a42fc214128aebe9ef587e0a2b (commit)
from d2129ad4570455d418b3ca34eeffd0505df088ea (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=4d10ceb2b2f199a42fc214128aebe9ef587e0a2b
commit 4d10ceb2b2f199a42fc214128aebe9ef587e0a2b
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Mar 20 22:12:06 2016 +0100
hurd: Allow inlining IO locks
* sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
diff --git a/ChangeLog b/ChangeLog
index db408c7..4b8890e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
+ * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
+
+2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
+
* sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
and __fcntl.
* sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
diff --git a/sysdeps/mach/hurd/libc-lock.h b/sysdeps/mach/hurd/libc-lock.h
index f6cbe50..dfcbee1 100644
--- a/sysdeps/mach/hurd/libc-lock.h
+++ b/sysdeps/mach/hurd/libc-lock.h
@@ -23,6 +23,9 @@
#include <cthreads.h>
#include <hurd/threadvar.h>
+/* The locking here is very inexpensive, even for inlining. */
+#define _IO_lock_inexpensive 1
+
typedef struct mutex __libc_lock_t;
typedef struct
{
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
sysdeps/mach/hurd/libc-lock.h | 3 +++
2 files changed, 7 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources