This is the mail archive of the glibc-bugs@sources.redhat.com 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/415] pthread_cancel does not unwind stack when thread is cancelled inside signal handler


------- Additional Comments From yufeng_xiong at ltx dot com  2004-10-01 14:22 -------
Dear Ulrich,

I want to make one correction: I tried call pthread_exit from the signal 
handler and it works, thread stack unwinds and local objects get destructed, 
that's good news.

Now the question is that since the standard says all Pthread functions are not 
safe to be used inside signal handler, how safe it is in reality to use 
pthread_exit inside signal handler on Linux using NPTL?

Thanks very much.

Yufeng

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=415

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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