kern/33951: pthread_cancel is ignored

David Xu davidxu at freebsd.org
Mon Feb 9 22:29:26 PST 2004


Daniel Eischen wrote:

>Synopsis: pthread_cancel is ignored
>
>State-Changed-From-To: open->closed
>State-Changed-By: deischen
>State-Changed-When: Mon Feb 9 21:30:56 PST 2004
>State-Changed-Why: 
>This works under -current with libpthread and supposedly
>under -stable with -lc_r.
>
>http://www.freebsd.org/cgi/query-pr.cgi?pr=33951
>_______________________________________________
>freebsd-threads at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-threads
>To unsubscribe, send any mail to "freebsd-threads-unsubscribe at freebsd.org"
>
>
>  
>
I had enabled asynchornous cancelling for M:N thread in libkse but not 
1:1 thread,
simplest way to support asynchronous cancelling for 1:1 is to use 
signal, but it will
occupy a signal like Linux's SIGUSR1, another way is to use upcall,  
but  it is
slight complicated.

David Xu




More information about the freebsd-threads mailing list