--- src/lib/libthread_xu/thread/thr_init.c 2005/03/29 19:26:20 1.3 +++ src/lib/libthread_xu/thread/thr_init.c 2005/05/07 09:29:46 1.4 @@ -300,6 +300,8 @@ _libpthread_init(struct pthread *curthre _thr_initial = curthread; SIGDELSET(oldset, SIGCANCEL); __sys_sigprocmask(SIG_SETMASK, &oldset, NULL); + if (td_eventismember(&_thread_event_mask, TD_CREATE)) + _thr_report_creation(curthread, curthread); } } @@ -376,6 +378,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();