Re: Debugging Thread
From: Chuck Dillon (spam_at_nimblegen.com)
Date: 03/15/05
- Next message: Jon Zero: "triggering an event every 5 minutes in C"
- Previous message: Chuck Dillon: "Re: touched files"
- In reply to: LDD: "Debugging Thread"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 15 Mar 2005 09:26:00 -0600
LDD wrote:
> Hi,
>
> Does anyone know of any tool working under Solaris that could help
> investigating about thread problems ?
dbx
>
> I'm experiencing a deadlock situation that is difficult to reproduce
> on the delopment platform but that happens too much often on the
> production one.
> So a cool thing would be to have something that allows me, perhaps
> after having relinked my program, to monitor thread activity, state
> and last activation time.
> Perhaps I should mention that my application is not responsible for
> the threads management, it's up to a "black box" library.
>
> The important point for me is to detect that a thread is blocked for
> too much time, in which case I could decide from another process to
> kill it and go on.
>
> Any advice is really welcome.
>
> Loic
When a deadlock occurs generate a core file and use dbx to investigate.
-- ced
-- Chuck Dillon Senior Software Engineer NimbleGen Systems Inc.
- Next message: Jon Zero: "triggering an event every 5 minutes in C"
- Previous message: Chuck Dillon: "Re: touched files"
- In reply to: LDD: "Debugging Thread"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]