[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How do I detect when a new thread is created?



The thread_db interface is modelled closely on the Solaris interface,
though it doesn't match exactly.  The best documentation available is the
Solaris documentation (go to docs.sun.com and search for thread_db).  You
want the "event reporting" interface.  You can look at the gdb code to see
how it does this, but reading that code is probably more confusing that
starting with Sun's documentation and then experimenting.  It's certainly
the case that not everything actually works as that documentation says, but
it will tell you where to look at the source and see how much is really there.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]