Implement pthread spin.

In order to run tsan unit tests, we need to support pthread spin APIs.

Bug: 18623621
Bug: 25392375
Change-Id: Icbb4a74e72e467824b3715982a01600031868e29
This commit is contained in:
Yabin Cui
2015-11-17 16:03:18 -08:00
parent b804b9d67b
commit fe3a83a934
12 changed files with 149 additions and 0 deletions

View File

@@ -1323,6 +1323,11 @@ LIBC_N {
pthread_barrier_destroy;
pthread_barrier_init;
pthread_barrier_wait;
pthread_spin_destroy;
pthread_spin_init;
pthread_spin_lock;
pthread_spin_trylock;
pthread_spin_unlock;
pwritev;
pwritev64;
scandirat;