/[rtmk]/rtmk/i386/tm-i386.h
ViewVC logotype

Diff of /rtmk/i386/tm-i386.h

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

revision 1.6 by jrydberg, Fri Jan 4 23:58:32 2002 UTC revision 1.7 by jrydberg, Mon Jan 7 01:09:57 2002 UTC
# Line 116  _EXTERN_INLINE void Line 116  _EXTERN_INLINE void
116  spin_lock (spin_lock_t *lock)  spin_lock (spin_lock_t *lock)
117  {  {
118    while (! spin_try_lock (lock))    while (! spin_try_lock (lock))
119      ;      while (*lock == 1)
120          ;
121  }  }
122    
123  /* Return nonzero if LOCK is locked.  */  /* Return nonzero if LOCK is locked.  */

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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