diff options
| author | David Xu <davidxu@FreeBSD.org> | 2005-04-12 03:00:28 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2005-04-12 03:00:28 +0000 |
| commit | d245d9e13fa39cab381193a24af50f540bb37e9f (patch) | |
| tree | b5ca39973148c65442650488e554719cd7db2deb /lib/libthr/thread/thr_init.c | |
| parent | a568c78877d634ad44dd95f9a76086f032c5c0f2 (diff) | |
Notes
Diffstat (limited to 'lib/libthr/thread/thr_init.c')
| -rw-r--r-- | lib/libthr/thread/thr_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libthr/thread/thr_init.c b/lib/libthr/thread/thr_init.c index a0f4e5c48641..7636fecf45fc 100644 --- a/lib/libthr/thread/thr_init.c +++ b/lib/libthr/thread/thr_init.c @@ -309,6 +309,7 @@ _libpthread_init(struct pthread *curthread) _thr_initial = curthread; SIGDELSET(oldset, SIGCANCEL); __sys_sigprocmask(SIG_SETMASK, &oldset, NULL); + _thr_report_creation(curthread, curthread); } } @@ -384,6 +385,7 @@ init_private(void) _thr_umtx_init(&_rwlock_static_lock); _thr_umtx_init(&_keytable_lock); _thr_umtx_init(&_thr_atfork_lock); + _thr_umtx_init(&_thr_event_lock); _thr_spinlock_init(); _thr_list_init(); |
