Shrivatsan wrote:
Hi,
I am trying to understand how msleep() routine suspends the currently
executing thread. I see that msleep() calls sleepq_wait().
What I don't understand here is the way in which sched_lock mutex is
handled.
I took the following snippet from FreeBSD 6:
sleepq_wait(voi
On Tuesday 23 February 2010 2:34:11 am Shrivatsan wrote:
> Hi,
>
> I am trying to understand how msleep() routine suspends the currently
> executing thread. I see that msleep() calls sleepq_wait().
>
> What I don't understand here is the way in which sched_lock mutex is
> handled.
>
> I took t
Hi,
I am trying to understand how msleep() routine suspends the currently
executing thread. I see that msleep() calls sleepq_wait().
What I don't understand here is the way in which sched_lock mutex is
handled.
I took the following snippet from FreeBSD 6:
sleepq_wait(void *wchan)
{
MPASS
3 matches
Mail list logo