diff options
Diffstat (limited to 'nptl/sysdeps/pthread/bits/stdio-lock.h')
-rw-r--r-- | nptl/sysdeps/pthread/bits/stdio-lock.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nptl/sysdeps/pthread/bits/stdio-lock.h b/nptl/sysdeps/pthread/bits/stdio-lock.h index ea622e4142..fbb14a1120 100644 --- a/nptl/sysdeps/pthread/bits/stdio-lock.h +++ b/nptl/sysdeps/pthread/bits/stdio-lock.h @@ -24,6 +24,9 @@ #include <lowlevellock.h> +/* The locking here is very inexpensive, even for inlining. */ +#define _IO_lock_inexpensive 1 + typedef struct { int lock; int cnt; void *owner; } _IO_lock_t; #define _IO_lock_initializer { LLL_MUTEX_LOCK_INITIALIZER, 0, NULL } |