420 |
|
|
421 |
# ifdef __USE_EXTERN_INLINES |
# ifdef __USE_EXTERN_INLINES |
422 |
|
|
423 |
extern inline int |
extern __inline int |
424 |
pthread_spin_destroy (pthread_spinlock_t *__lock) |
pthread_spin_destroy (pthread_spinlock_t *__lock) |
425 |
{ |
{ |
426 |
return __pthread_spin_destroy (__lock); |
return __pthread_spin_destroy (__lock); |
427 |
} |
} |
428 |
|
|
429 |
extern inline int |
extern __inline int |
430 |
pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) |
pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) |
431 |
{ |
{ |
432 |
return __pthread_spin_init (__lock, __pshared); |
return __pthread_spin_init (__lock, __pshared); |
433 |
} |
} |
434 |
|
|
435 |
extern inline int |
extern __inline int |
436 |
pthread_spin_lock (pthread_spinlock_t *__lock) |
pthread_spin_lock (pthread_spinlock_t *__lock) |
437 |
{ |
{ |
438 |
return __pthread_spin_lock (__lock); |
return __pthread_spin_lock (__lock); |
439 |
} |
} |
440 |
|
|
441 |
extern inline int |
extern __inline int |
442 |
pthread_spin_trylock (pthread_spinlock_t *__lock) |
pthread_spin_trylock (pthread_spinlock_t *__lock) |
443 |
{ |
{ |
444 |
return __pthread_spin_trylock (__lock); |
return __pthread_spin_trylock (__lock); |
445 |
} |
} |
446 |
|
|
447 |
extern inline int |
extern __inline int |
448 |
pthread_spin_unlock (pthread_spinlock_t *__lock) |
pthread_spin_unlock (pthread_spinlock_t *__lock) |
449 |
{ |
{ |
450 |
return __pthread_spin_unlock (__lock); |
return __pthread_spin_unlock (__lock); |