Re: Enumerating sleeping threads

2012-08-01 Thread Daniel Rudy
--- On Wed, 8/1/12, David Xu wrote: From: David Xu Subject: Re: Enumerating sleeping threads To: "Daniel Rudy" Cc: freebsd-hackers@freebsd.org Date: Wednesday, August 1, 2012, 7:25 PM On 2012/8/2 10:12, Daniel Rudy wrote: > Hello, > > What is the best way to enumerate t

Re: Enumerating sleeping threads

2012-08-01 Thread David Xu
On 2012/8/2 10:12, Daniel Rudy wrote: Hello, What is the best way to enumerate the sleeping threads via sleepqueue(9)? Furthermore, when enumerating the threads that are on the run queue, what locks are needed, if any? sleepqueue hash bucket is private data structure in subr_sleepqueue.c, I th

Enumerating sleeping threads

2012-08-01 Thread Daniel Rudy
Hello, What is the best way to enumerate the sleeping threads via sleepqueue(9)? Furthermore, when enumerating the threads that are on the run queue, what locks are needed, if any? Thank you. -- Daniel Rudy ___ freebsd-hackers@freebsd.org mailing lis