Re: which processor is a thread executing on?
Re: which processor is a thread executing on?
- Subject: Re: which processor is a thread executing on?
- From: "Michael Crawford" <email@hidden>
- Date: Wed, 1 Oct 2008 22:09:59 -0700
While there is almost certainly a better way to achieve your desired
goal, you might find what you need in the Mach microkernel API.
OS X' pthread implementation is a wrapper around Mach tasks.
While the OS X kernel *is* built on top of Mach, Mach isn't in this
case a microkernel - it's statically linked to the rest of the kernel,
so as to avoid the context switching overhead that plagues true
microkernels. It's just used to provide useful operating system
primitives.
The xnu kernel is the FreeBSD kernel on top of Mach, with a unique
driver architecture called the I/O Kit.
Mike
--
Michael David Crawford
mdcrawford at gmail dot com
Enjoy my art, photography, music and writing at
http://www.geometricvisions.com/
--- Free Compact Disc ---
_______________________________________________
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