Deleted Added
full compact
26c26
< * $FreeBSD: head/lib/libthr/thread/thr_cancel.c 212312 2010-09-08 02:18:20Z davidxu $
---
> * $FreeBSD: head/lib/libthr/thread/thr_cancel.c 212536 2010-09-13 07:03:01Z davidxu $
63c63
< * _thr_ref_add and _thr_ref_delete will enter and leave critical
---
> * _thr_find_thread and THR_THREAD_UNLOCK will enter and leave critical
66,67c66
< if ((ret = _thr_ref_add(curthread, pthread, 0)) == 0) {
< THR_THREAD_LOCK(curthread, pthread);
---
> if ((ret = _thr_find_thread(curthread, pthread, 0)) == 0) {
74d72
< _thr_ref_delete(curthread, pthread);