diff options
author | Renato Botelho <renato@netgate.com> | 2016-08-08 13:18:31 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-08-08 13:18:31 -0300 |
commit | c481775c0ef4d4d98dd1d53711a00b2e101533d2 (patch) | |
tree | 9590dc3802a31ee0e5931f40e389abe8e2785b78 /lib/libthr/thread | |
parent | 4008e6a2e9bc1ee9983a4cf7d23093d2015026d6 (diff) | |
parent | 89512a096a7717f8c3f2ca6889e0c6b1a1d50b32 (diff) | |
download | FreeBSD-src-c481775c0ef4d4d98dd1d53711a00b2e101533d2.zip FreeBSD-src-c481775c0ef4d4d98dd1d53711a00b2e101533d2.tar.gz |
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'lib/libthr/thread')
-rw-r--r-- | lib/libthr/thread/thr_init.c | 1 | ||||
-rw-r--r-- | lib/libthr/thread/thr_once.c | 5 | ||||
-rw-r--r-- | lib/libthr/thread/thr_private.h | 1 |
3 files changed, 0 insertions, 7 deletions
diff --git a/lib/libthr/thread/thr_init.c b/lib/libthr/thread/thr_init.c index 77c2cf7..b5d1261 100644 --- a/lib/libthr/thread/thr_init.c +++ b/lib/libthr/thread/thr_init.c @@ -438,7 +438,6 @@ init_private(void) _thr_urwlock_init(&_thr_atfork_lock); _thr_umutex_init(&_thr_event_lock); _thr_umutex_init(&_suspend_all_lock); - _thr_once_init(); _thr_spinlock_init(); _thr_list_init(); _thr_wake_addr_init(); diff --git a/lib/libthr/thread/thr_once.c b/lib/libthr/thread/thr_once.c index 4f70374..4492777 100644 --- a/lib/libthr/thread/thr_once.c +++ b/lib/libthr/thread/thr_once.c @@ -92,8 +92,3 @@ _pthread_once(pthread_once_t *once_control, void (*init_routine) (void)) _thr_umtx_wake(&once_control->state, INT_MAX, 0); return (0); } - -void -_thr_once_init() -{ -} diff --git a/lib/libthr/thread/thr_private.h b/lib/libthr/thread/thr_private.h index e2e8b0f..be626d9 100644 --- a/lib/libthr/thread/thr_private.h +++ b/lib/libthr/thread/thr_private.h @@ -773,7 +773,6 @@ void _thr_link(struct pthread *, struct pthread *) __hidden; void _thr_unlink(struct pthread *, struct pthread *) __hidden; void _thr_assert_lock_level(void) __hidden __dead2; void _thr_ast(struct pthread *) __hidden; -void _thr_once_init(void) __hidden; void _thr_report_creation(struct pthread *curthread, struct pthread *newthread) __hidden; void _thr_report_death(struct pthread *curthread) __hidden; |