At 14:09 +0200 7/5/03, Thierry Passeron wrote: i just wondered if in OSX threads were user-threads or kernel-threads, i'm really new to threads and i came to think that since the API lets one change the schedule of a thread it has to be user-threads. can someone please tell me the answer ? There are many different types of threads on Mac OS X, so your question has no general answer. However, if you're talking about pthreads, then yes, a pthread is kernel thread. A pthread is actually a wrapper around a Mach thread, which is a kernel thread. This is explained in detail in DTS Technote 2028 "Threading Architectures". <http://developer.apple.com/technotes/tn/tn2028.html> S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Technical Support * Networking, Communications, Hardware _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Quinn