Subversion Repositories HelenOS

Rev

Rev 241 | Rev 258 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 241 Rev 248
Line 147... Line 147...
147
            goto retry;
147
            goto retry;
148
        }
148
        }
149
        CPU->nrdy--;
149
        CPU->nrdy--;
150
        spinlock_unlock(&CPU->lock);
150
        spinlock_unlock(&CPU->lock);
151
 
151
 
152
        atomic_dec(&nrdy);
152
        atomic_dec((int *) &nrdy);
153
        r->n--;
153
        r->n--;
154
 
154
 
155
        /*
155
        /*
156
         * Take the first thread from the queue.
156
         * Take the first thread from the queue.
157
         */
157
         */