Back to index

glibc  2.9
Functions
pthread_spin_unlock.c File Reference
#include "pthreadP.h"
#include <atomic.h>

Go to the source code of this file.

Functions

int pthread_spin_unlock (pthread_spinlock_t *lock)

Function Documentation

int pthread_spin_unlock ( pthread_spinlock_t *  lock)

Definition at line 25 of file pthread_spin_unlock.c.

{
  atomic_full_barrier ();
  *lock = 0;
  return 0;
}

Here is the caller graph for this function: