Re: Hang monitoring for non-main threads

2013-09-30 Thread Vladan Djeric
On 30/09/2013 2:48 PM, Jim Chen wrote: So far I looked at the main thread hang monitor [1], but it seems to make a lot of assumptions about the main thread. I think it would make sense to have a separate, generic hang monitor that can monitor multiple other threads. I like the idea, but with Be

Re: Hang monitoring for non-main threads

2013-09-30 Thread Benjamin Smedberg
On 9/30/2013 2:48 PM, Jim Chen wrote: So far I looked at the main thread hang monitor [1], but it seems to make a lot of assumptions about the main thread. Yes. I think it would make sense to have a separate, generic hang monitor that can monitor multiple other threads. Each thread would reg

Hang monitoring for non-main threads

2013-09-30 Thread Jim Chen
Hi all, I'm looking at implementing a hang monitoring mechanism for non-main threads. The initial motivation was that we've been noticing hangs on the compositor thread in Fennec. These hangs are not as easy to notice as main thread hangs, and we'd like more information about them like how frequen