From 4ad1d0cfbf96c3dbcf0ba104eb9f81bae6bdc6da Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 4 Jul 2000 00:22:32 +0000 Subject: (charmap_read): Prepend the condition filename == NULL. --- linuxthreads/sysdeps/pthread/bits/pthreadtypes.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'linuxthreads/sysdeps/pthread/bits') diff --git a/linuxthreads/sysdeps/pthread/bits/pthreadtypes.h b/linuxthreads/sysdeps/pthread/bits/pthreadtypes.h index a53889f5f0..2bb661fea3 100644 --- a/linuxthreads/sysdeps/pthread/bits/pthreadtypes.h +++ b/linuxthreads/sysdeps/pthread/bits/pthreadtypes.h @@ -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 -- cgit v1.2.3