rt-thread/components/pthreads/pthread_spin.c

27 lines
401 B
C
Raw Normal View History

#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;
}