Deleted Added
full compact
3c3
< * $FreeBSD: head/lib/libkse/thread/thr_cancel.c 76909 2001-05-20 23:08:33Z jasone $
---
> * $FreeBSD: head/lib/libkse/thread/thr_cancel.c 81750 2001-08-16 06:31:32Z jasone $
66a67,79
> /*
> * Disconnect the thread from the joinee and
> * detach:
> */
> if (pthread->data.thread != NULL) {
> pthread->data.thread->joiner = NULL;
> pthread_detach((pthread_t)
> pthread->data.thread);
> }
> pthread->cancelflags |= PTHREAD_CANCELLING;
> PTHREAD_NEW_STATE(pthread, PS_RUNNING);
> break;
>
69a83
> pthread->suspended == SUSP_JOIN ||
192d205
< pthread_detach((pthread_t)curthread);
229d241
< pthread_detach((pthread_t)curthread);