• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Examining kernel thread state at run-time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Examining kernel thread state at run-time


  • Subject: Examining kernel thread state at run-time
  • From: Allen Briggs <email@hidden>
  • Date: Wed, 7 Feb 2007 14:41:38 -0500

Hi,

I'm working on a port of a driver to OS X 10.4.  This driver has
several threads in it and several different locked regions.  I
would like to examine the state of the threads at run-time from
an application--just to see which thread might be blocked on which
IOLock (or something else).  Is it possible to do this without
resorting to kgdb?

In BSD, I'm used to using ps to show the "wait channel" for a
process/thread.  But 'ps' in OS X just shows '-' for everyone.
I've also looked at 'top' and Activity Monitor to no avail.

Any suggestions?

Thanks,
-allen

--
Allen Briggs  |  http://www.ninthwonder.com/~briggs/  |  email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: multiple plumbers for interface type
  • Next by Date: Re: multiple plumbers for interface type
  • Previous by thread: Re: multiple plumbers for interface type
  • Next by thread: Re: Examining kernel thread state at run-time
  • Index(es):
    • Date
    • Thread