]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Define a _spinunlock() function so that threading implementations may do
authorJeff Roberson <jeff@FreeBSD.org>
Wed, 26 Mar 2003 04:02:24 +0000 (04:02 +0000)
committerJeff Roberson <jeff@FreeBSD.org>
Wed, 26 Mar 2003 04:02:24 +0000 (04:02 +0000)
commitcc3521d66055ed9c5cc720613a3f0e84589a4abe
tree23941a59360abf1f23a2109a15011a66807ae876
parent6410552316016c539531b28ecf9947cd4ddfb553
 - Define a _spinunlock() function so that threading implementations may do
   more complicated things than just setting the lock to 0.
 - Implement stubs for this function in libc and the two threading libraries
   that are currently in the tree.
lib/libc/gen/_spinlock_stub.c
lib/libc/include/spinlock.h
lib/libc_r/uthread/uthread_spinlock.c
lib/libkse/thread/thr_spinlock.c
lib/libpthread/thread/thr_spinlock.c