[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: a question about tst-cancel2
- From: Saurabh Desai <sdesai austin ibm com>
- To: phil-list redhat com
- Subject: Re: a question about tst-cancel2
- Date: Mon, 31 Mar 2003 12:27:03 -0600
"Hu, Boris" wrote:
>
> when a pthread is created, th->cancelhandling=0;
> then pthread_cancel(th) will only mark
> th->cancelhandling=4(CANCELED_BITMASK) without
> calling __pthread_kill().
> Where could I find the place to execute the cancel buf
> of th pthread? th pthread calls sys_exit() directly
> after return according to clone.S
>
If it's not an asynchronous cancellation, the pthread_testcancel()
calls __do_cancel(), which then longjmp back for an exit.
Is this what you are looking for?
- Saurabh
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]