Back to index

glibc  2.9
Functions
spin-solid.c File Reference
#include <spin-lock.h>
#include <mach/mach_traps.h>

Go to the source code of this file.

Functions

void __spin_lock_solid (spin_lock_t *lock)
 weak_alias (__spin_lock_solid, spin_lock_solid)

Function Documentation

void __spin_lock_solid ( spin_lock_t lock)

Definition at line 23 of file spin-solid.c.

{
  while (__spin_lock_locked (lock) || ! __spin_try_lock (lock))
    /* Yield to another thread (system call).  */
    __swtch_pri (0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

weak_alias ( __spin_lock_solid  ,
spin_lock_solid   
)