1
0
mirror of https://sourceware.org/git/glibc.git synced 2026-01-06 11:51:29 +03:00

(charmap_read): Prepend the condition filename == NULL.

This commit is contained in:
Ulrich Drepper
2000-07-04 00:22:32 +00:00
parent 68eefde7b6
commit 4ad1d0cfbf
9 changed files with 150 additions and 53 deletions

View File

@@ -25,8 +25,9 @@
/* Fast locks (not abstract because mutexes and conditions aren't abstract). */
struct _pthread_fastlock
{
long int __status; /* "Free" or "taken" or head of waiting list */
int __spinlock; /* For compare-and-swap emulation */
long int __status; /* "Free" or "taken" or head of waiting list */
int __spinlock; /* Used by compare_and_swap emulation. Also,
adaptive SMP lock stores spin count here. */
};
#ifndef _PTHREAD_DESCR_DEFINED

View File

@@ -77,10 +77,10 @@ enum
enum
{
PTHREAD_MUTEX_FAST_NP,
PTHREAD_MUTEX_TIMED_NP,
PTHREAD_MUTEX_RECURSIVE_NP,
PTHREAD_MUTEX_ERRORCHECK_NP,
PTHREAD_MUTEX_TIMED_NP
PTHREAD_MUTEX_ADAPTIVE_NP
#ifdef __USE_UNIX98
,
PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP,