Lines Matching refs:curthread
45 _thr_report_creation(pthread_t curthread, pthread_t newthread) in _thr_report_creation() argument
47 curthread->event_buf.event = TD_CREATE; in _thr_report_creation()
48 curthread->event_buf.th_p = (td_thrhandle_t *)newthread; in _thr_report_creation()
49 curthread->event_buf.data = 0; in _thr_report_creation()
50 THR_UMTX_LOCK(curthread, &_thr_event_lock); in _thr_report_creation()
51 _thread_last_event = curthread; in _thr_report_creation()
54 THR_UMTX_UNLOCK(curthread, &_thr_event_lock); in _thr_report_creation()
58 _thr_report_death(pthread_t curthread) in _thr_report_death() argument
60 curthread->event_buf.event = TD_DEATH; in _thr_report_death()
61 curthread->event_buf.th_p = (td_thrhandle_t *)curthread; in _thr_report_death()
62 curthread->event_buf.data = 0; in _thr_report_death()
63 THR_UMTX_LOCK(curthread, &_thr_event_lock); in _thr_report_death()
64 _thread_last_event = curthread; in _thr_report_death()
67 THR_UMTX_UNLOCK(curthread, &_thr_event_lock); in _thr_report_death()