/[hurd]/hurd/libpthread/sysdeps/i386/bits/spin-lock.h
ViewVC logotype

Diff of /hurd/libpthread/sysdeps/i386/bits/spin-lock.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by neal, Thu Oct 10 23:05:05 2002 UTC revision 1.2 by neal, Tue Jan 18 09:57:35 2005 UTC
# Line 74  __pthread_spin_trylock (__pthread_spinlo Line 74  __pthread_spin_trylock (__pthread_spinlo
74    return __locked ? __EBUSY : 0;    return __locked ? __EBUSY : 0;
75  }  }
76    
77  extern inline int __pthread_spin_lock (__pthread_spinlock_t *__lock);  extern __inline int __pthread_spin_lock (__pthread_spinlock_t *__lock);
78  extern int _pthread_spin_lock (__pthread_spinlock_t *__lock);  extern int _pthread_spin_lock (__pthread_spinlock_t *__lock);
79    
80  extern inline int  extern __inline int
81  __pthread_spin_lock (__pthread_spinlock_t *__lock)  __pthread_spin_lock (__pthread_spinlock_t *__lock)
82  {  {
83    if (__pthread_spin_trylock (__lock))    if (__pthread_spin_trylock (__lock))

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26