add initial pthread implementation.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1044 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong
2010-11-12 10:26:36 +00:00
parent 7018ab0661
commit 25f50375ef
19 changed files with 1179 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#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;
}