Back to index

glibc  2.9
Functions
pthread_spin_unlock.c File Reference
#include "pthreadP.h"
#include <atomic.h>
This graph shows which files directly or indirectly include this file:

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.

{
  __asm __volatile ("membar #StoreStore | #LoadStore");
  *lock = 0;
  return 0;
}