summaryrefslogtreecommitdiff
path: root/lib/libthr/thread/thr_init.c
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2003-04-02 03:05:39 +0000
committerJeff Roberson <jeff@FreeBSD.org>2003-04-02 03:05:39 +0000
commit26f52e2f8b92ffea807005dc15866b2cf79ed3ac (patch)
tree3edb86617f8b88a54083b0eeb1e45c1b253d05e0 /lib/libthr/thread/thr_init.c
parentdd3dd8724dcceea872de0aea7ef8baabb3ba808c (diff)
Notes
Diffstat (limited to 'lib/libthr/thread/thr_init.c')
-rw-r--r--lib/libthr/thread/thr_init.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/libthr/thread/thr_init.c b/lib/libthr/thread/thr_init.c
index 266ff16a3f7e..6a6fd45d7586 100644
--- a/lib/libthr/thread/thr_init.c
+++ b/lib/libthr/thread/thr_init.c
@@ -331,22 +331,6 @@ _thread_init(void)
PANIC("Failed to initialise garbage collector mutex or condvar");
}
-struct pthread *
-_get_curthread_slow(void)
-{
- struct pthread *td;
- thr_id_t id;
-
- if (_thread_initial == NULL)
- _thread_init();
-
- thr_self(&id);
- TAILQ_FOREACH(td, &_thread_list, tle)
- if (td->thr_id == id)
- return (td);
- return (NULL);
-}
-
/*
* Special start up code for NetBSD/Alpha
*/