[Asterisk-Dev] How can I see what a thread is doing?
Brian West
brian.west at mac.com
Mon Jun 27 14:46:19 MST 2005
You can't without pausing the process... now if you're fast enough
you can attach snag the trace and detach and only get a small blip in
audio.
/b
---
Anakin: “You’re either with me, or you’re my enemy.”
Obi-Wan: “Only a Sith could be an absolutist.”
On Jun 27, 2005, at 3:34 PM, Matthew Boehm wrote:
> Brian West wrote:
>
>> attach to it with gdb and do "thread apply all bt"
>> /b
>> ---
>>
>
> That's destructive though isn't it? Will it kill calls? Halt the
> server? Do I attach to the main thread or the thread in question?
>
> Thanks,
> -Matthew
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
More information about the asterisk-dev
mailing list