From 187dd78d7bd1c03fcf16e54a30314512d38e1a4a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 27 Feb 2003 18:13:05 +0000 Subject: Major update for pthreads, based in large part on improvements from glibc 2.3. This should make threads much more efficient. -Erik --- libc/sysdeps/linux/common/bits/pthreadtypes.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libc/sysdeps/linux/common/bits/pthreadtypes.h') diff --git a/libc/sysdeps/linux/common/bits/pthreadtypes.h b/libc/sysdeps/linux/common/bits/pthreadtypes.h index 441734c9d..3ee5c4813 100644 --- a/libc/sysdeps/linux/common/bits/pthreadtypes.h +++ b/libc/sysdeps/linux/common/bits/pthreadtypes.h @@ -22,13 +22,11 @@ #define __need_schedparam #include -typedef int __atomic_lock_t; - /* 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 */ - __atomic_lock_t __spinlock; /* Used by compare_and_swap emulation. Also, + int __spinlock; /* Used by compare_and_swap emulation. Also, adaptive SMP lock stores spin count here. */ }; -- cgit v1.2.3