diff options
| author | David Xu <davidxu@FreeBSD.org> | 2006-09-06 04:04:10 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2006-09-06 04:04:10 +0000 |
| commit | bddd24cd9c3e6144282ff7eaa92a3ad032e5be7b (patch) | |
| tree | 7044b040d8f18506b5f3294848fd18b67eaf0bd2 /lib/libthr/thread/thr_event.c | |
| parent | b2d24734cd9e4cf85ca2015468e1b29f8468bfb7 (diff) | |
Notes
Diffstat (limited to 'lib/libthr/thread/thr_event.c')
| -rw-r--r-- | lib/libthr/thread/thr_event.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libthr/thread/thr_event.c b/lib/libthr/thread/thr_event.c index 6a64cf9af6cc..cdab9d741f1e 100644 --- a/lib/libthr/thread/thr_event.c +++ b/lib/libthr/thread/thr_event.c @@ -44,11 +44,11 @@ _thr_report_creation(struct pthread *curthread, struct pthread *newthread) curthread->event_buf.event = TD_CREATE; curthread->event_buf.th_p = (td_thrhandle_t *)newthread; curthread->event_buf.data = 0; - THR_UMTX_LOCK(curthread, &_thr_event_lock); + THR_UMUTEX_LOCK(curthread, &_thr_event_lock); _thread_last_event = curthread; _thread_bp_create(); _thread_last_event = NULL; - THR_UMTX_UNLOCK(curthread, &_thr_event_lock); + THR_UMUTEX_UNLOCK(curthread, &_thr_event_lock); } void @@ -57,9 +57,9 @@ _thr_report_death(struct pthread *curthread) curthread->event_buf.event = TD_DEATH; curthread->event_buf.th_p = (td_thrhandle_t *)curthread; curthread->event_buf.data = 0; - THR_UMTX_LOCK(curthread, &_thr_event_lock); + THR_UMUTEX_LOCK(curthread, &_thr_event_lock); _thread_last_event = curthread; _thread_bp_death(); _thread_last_event = NULL; - THR_UMTX_UNLOCK(curthread, &_thr_event_lock); + THR_UMUTEX_UNLOCK(curthread, &_thr_event_lock); } |
