diff options
| author | Jeff Roberson <jeff@FreeBSD.org> | 2003-04-02 03:05:39 +0000 |
|---|---|---|
| committer | Jeff Roberson <jeff@FreeBSD.org> | 2003-04-02 03:05:39 +0000 |
| commit | 26f52e2f8b92ffea807005dc15866b2cf79ed3ac (patch) | |
| tree | 3edb86617f8b88a54083b0eeb1e45c1b253d05e0 /lib/libthr/thread/thr_init.c | |
| parent | dd3dd8724dcceea872de0aea7ef8baabb3ba808c (diff) | |
Notes
Diffstat (limited to 'lib/libthr/thread/thr_init.c')
| -rw-r--r-- | lib/libthr/thread/thr_init.c | 16 |
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 */ |
