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

Diff of /hurd/libpthread/sysdeps/mach/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:34 2005 UTC
# Line 70  __pthread_spin_trylock (__pthread_spinlo Line 70  __pthread_spin_trylock (__pthread_spinlo
70    return __spin_try_lock (__lock) ? 0 : __EBUSY;    return __spin_try_lock (__lock) ? 0 : __EBUSY;
71  }  }
72    
73  extern inline int __pthread_spin_lock (__pthread_spinlock_t *__lock);  extern __inline int __pthread_spin_lock (__pthread_spinlock_t *__lock);
74  extern int _pthread_spin_lock (__pthread_spinlock_t *__lock);  extern int _pthread_spin_lock (__pthread_spinlock_t *__lock);
75    
76  extern inline int  extern __inline int
77  __pthread_spin_lock (__pthread_spinlock_t *__lock)  __pthread_spin_lock (__pthread_spinlock_t *__lock)
78  {  {
79    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