Link to home
Start Free TrialLog in
Avatar of jessica1020
jessica1020

asked on

A problem about SLEEP_ON ON Linux (kernel 0.11)


files: sched.c

function name: __sleep_on(task_struct **p , int state)
{......
.....

tmp = *p;
*p= current;
current->state = state;
.....
....
}

My question is that:

Is the member "state" of "*p" really changed ??

 
ASKER CERTIFIED SOLUTION
Avatar of ravenpl
ravenpl
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial