Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 240 → Rev 241

/SPARTAN/trunk/src/proc/scheduler.c
149,7 → 149,7
CPU->nrdy--;
spinlock_unlock(&CPU->lock);
 
atomic_dec((int *) &nrdy);
atomic_dec(&nrdy);
r->n--;
 
/*
/SPARTAN/trunk/src/proc/thread.c
136,7 → 136,7
r->n++;
spinlock_unlock(&r->lock);
 
atomic_inc((int *) &nrdy);
atomic_inc(&nrdy);
avg = nrdy / config.cpu_active;
 
spinlock_lock(&cpu->lock);