diff options
Diffstat (limited to 'lib/libc_r/uthread/uthread_spinlock.c')
-rw-r--r-- | lib/libc_r/uthread/uthread_spinlock.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc_r/uthread/uthread_spinlock.c b/lib/libc_r/uthread/uthread_spinlock.c index e05aa4a..0c8eae3 100644 --- a/lib/libc_r/uthread/uthread_spinlock.c +++ b/lib/libc_r/uthread/uthread_spinlock.c @@ -44,6 +44,12 @@ #include "pthread_private.h" +void +_spinunlock(spinlock_t *lck) +{ + lck->access_lock = 0; +} + /* * Lock a location for the running thread. Yield to allow other * threads to run if this thread is blocked because the lock is |