Back to index

glibc  2.9
mutex-init.c File Reference
#include <lock-intern.h>
#include <cthreads.h>

Go to the source code of this file.


void __mutex_init (void *lock)

Function Documentation

void __mutex_init ( void *  lock)

Definition at line 24 of file mutex-init.c.

  /* This happens to be name space-safe because it is a macro.
     It invokes only spin_lock_init, which is a macro for __spin_lock_init;
     and cthread_queue_init, which is a macro for some simple code.  */
  mutex_init ((struct mutex *) lock);

Here is the caller graph for this function: