I would like to print out the call stack of a thread, something that
looks like the output of pstack.
From within the thread itself, I suppose I can fork1() to duplicate the
thread and fork another process to run pstack on the duplicated thread.
I would much rather use some api to print out the stack directly. Any
pointer would be appreciated.
Sent via Deja.com http://www.deja.com/
Before you buy.