Re: which processor is a thread executing on?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=MWZHGgDnjXtTLmjScX2+HFfXUvJkEIOvQgRL3a38UfY=; b=n8ZZBsOsK99IX2k0/SnloVOhBsNefLpA1uSfvEAUYb/uSd5A7O2ArvC3z38gWBVWRC IuR3MYmBkwE1RvGWyOzyPBOEqsoID2pgi72vwSCCTu/tt2QwTLF5JmDQr8HCVFHFsAoM kLdG4awPlaSst+OlaRb/Ai14JoBwdKOp9XlI0= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=W10aMTfbkJkQm/lc53lt8VRctzhMONJAcm2QRSTgnA6WVWsOEf4TbZ1MlUAADJ3AE9 wtxluqNunf6c4hYOHrI31ZYQykaZTmmv9+KDQRJlw27Kp3CabDyC9eZLriLBVCipvkSj cB5zJe9vaxWt9WI22jFuDFz41kRwAcQqhybMA= 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Michael Crawford