Re: Is kernel aware of pthreads ?
Re: Is kernel aware of pthreads ?
- Subject: Re: Is kernel aware of pthreads ?
- From: Jim Magee <email@hidden>
- Date: Wed, 1 Feb 2006 08:46:31 -0500
On Feb 1, 2006, at 6:11 AM, Sudarshan S wrote:
A multi-threaded user process makes a system call and control comes
to kernel extension ( I mean proc_self( ) gives me the pid of the
user process).
If the kernel extension blocks using msleep( ), does it block the
entire process or does it block only a specific thread of that
process that is making a call.
I am trying to understand the threading model implemented in Tiger.
Each pthread corresponds to a unique kernel (Mach) thread. So msleep
() will only block that one thread.
--Jim
_______________________________________________
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