Re: processes, tasks, threads
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com In Mac OS X: a Thread is an execution context a Task, is a Mach process representation (in the simplest terms), it contains threads, VM resources, port rights, and other mach resources a Process is a BSD process representation that "wraps" a Mach task to add BSDisms such as BSD security (user,group,pid, etc), the open file table, etc A Light-weight process is usually a userland only thread that may not be backed by a kernel thread. Solaris supports these, but Mac OS X has no such concept (officially); a user thread is always associated with a kernel thread. On Apr 10, 2010, at 4:06 PM, Ariel Feinerman wrote:
Hi, sorry for stupid question. What is the difference between process, task, flow and thread in the Darwin? What kind of relationsheeps between calls fork(), exec() and pthreads or mach threads? I heard that in some OS process and thread are the same entity at least in Linux. Thank you in advance,
--
Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Brian Bergstrand