diff options
| author | Mike Makonnen <mtm@FreeBSD.org> | 2003-07-06 10:10:32 +0000 |
|---|---|---|
| committer | Mike Makonnen <mtm@FreeBSD.org> | 2003-07-06 10:10:32 +0000 |
| commit | 964407197732fe475fe8f9a54cb68884dd447a94 (patch) | |
| tree | 5cafa78cb831b87996f103105197dbac29bf9d58 /lib/libthr/thread/thr_spinlock.c | |
| parent | fd1ed3c6753f6589389670857697e7bea8f9409d (diff) | |
Notes
Diffstat (limited to 'lib/libthr/thread/thr_spinlock.c')
| -rw-r--r-- | lib/libthr/thread/thr_spinlock.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/libthr/thread/thr_spinlock.c b/lib/libthr/thread/thr_spinlock.c index dcb6facf54e3..259977a63f60 100644 --- a/lib/libthr/thread/thr_spinlock.c +++ b/lib/libthr/thread/thr_spinlock.c @@ -64,16 +64,6 @@ _spinlock(spinlock_t *lck) abort(); } -int -_umtxtrylock(struct umtx *lck) -{ - int error; - error = umtx_trylock(lck, curthread->thr_id); - if (error != 0 && error != EBUSY) - abort(); - return (error); -} - /* * Lock a location for the running thread. Yield to allow other * threads to run if this thread is blocked because the lock is |
