diff options
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r-- | sysdeps/mach/hurd/libc-lock.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/libc-lock.h b/sysdeps/mach/hurd/libc-lock.h index f6cbe50fc2..dfcbee195c 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 { |