David Xu wrote:
Author: davidxu
Date: Wed Sep 15 02:56:32 2010
New Revision: 212630
URL: http://svn.freebsd.org/changeset/base/212630
Log:
add code to support stack unwinding when thread exits. note that only
defer-mode cancellation works, asynchrnous mode does not work because
it lacks of libuwind's support. stack unwinding is not enabled unless
LIBTHR_UNWIND_STACK is defined in Makefile.
Modified:
head/lib/libthr/Makefile
head/lib/libthr/thread/thr_clean.c
head/lib/libthr/thread/thr_create.c
head/lib/libthr/thread/thr_exit.c
head/lib/libthr/thread/thr_init.c
head/lib/libthr/thread/thr_private.h
I have enabled stack unwinding to see if it will cause any problem,
if it does, it can be easily turned off in Makefile.
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"