Back to index

glibc  2.9
Functions
pthread_spin_init.c File Reference
#include "pthreadP.h"

Go to the source code of this file.

Functions

int pthread_spin_init (pthread_spinlock_t *lock, int pshared)

Function Documentation

int pthread_spin_init ( pthread_spinlock_t *  lock,
int  pshared 
)

Definition at line 24 of file pthread_spin_init.c.

{
  *lock = 0;
  return 0;
}