rt-thread/components/pthreads/pthread_spin.c
bernard.xiong 25f50375ef add initial pthread implementation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1044 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-12 10:26:36 +00:00

27 lines
401 B
C

#include "pthread_spin.h"
int pthread_spin_init (pthread_spinlock_t *lock, int pshared)
{
return 0;
}
int pthread_spin_destroy (pthread_spinlock_t *lock)
{
return 0;
}
int pthread_spin_lock (pthread_spinlock_t * lock)
{
return 0;
}
int pthread_spin_trylock (pthread_spinlock_t * lock)
{
return 0;
}
int pthread_spin_unlock (pthread_spinlock_t * lock)
{
return 0;
}