This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/14744] kill -32 $pid or kill -33 $pid on a process cancels a random thread


https://sourceware.org/bugzilla/show_bug.cgi?id=14744

--- Comment #2 from Rich Felker <bugdal at aerifal dot cx> ---
Perhaps I was not clear. I (hopefully obviously) did not mean that there should
be some global state "this application has called pthread_cancel" which causes
any thread receiving signal 32 or 33 to get cancelled if it's set. The intent
was that pthread_cancel should set the cancellation state on its target (in the
TCB or thread-local storage), and a thread should never act upon cancellation
unless this state is set.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]