Re: processes, tasks, threads
Re: processes, tasks, threads
- Subject: Re: processes, tasks, threads
- From: Brian Bergstrand <email@hidden>
- Date: Mon, 12 Apr 2010 15:33:48 +0300
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden