1 |
/* Machine-specific definitions for spin locks. i386 version. |
/* Machine-specific definitions for spin locks. i386 version. |
2 |
Copyright (C) 2000 Free Software Foundation, Inc. |
Copyright (C) 2000, 2005 Free Software Foundation, Inc. |
3 |
This file is part of the GNU C Library. |
This file is part of the GNU C Library. |
4 |
|
|
5 |
The GNU C Library is free software; you can redistribute it and/or |
The GNU C Library is free software; you can redistribute it and/or |
32 |
typedef __volatile int __pthread_spinlock_t; |
typedef __volatile int __pthread_spinlock_t; |
33 |
|
|
34 |
/* Initializer for a spin lock object. */ |
/* Initializer for a spin lock object. */ |
35 |
# define __SPIN_LOCK_INITIALIZER ((__pthread_spinlock_t) 0) |
# define __SPIN_LOCK_INITIALIZER (0) |
36 |
|
|
37 |
#if defined __USE_EXTERN_INLINES || defined _FORCE_INLINES |
#if defined __USE_EXTERN_INLINES || defined _FORCE_INLINES |
38 |
|
|