Subversion Repositories HelenOS-historic

Rev

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

Rev 1589 Rev 1595
Line 386... Line 386...
386
        goto restart;
386
        goto restart;
387
    }
387
    }
388
    THREAD->state = Exiting;
388
    THREAD->state = Exiting;
389
    spinlock_unlock(&THREAD->lock);
389
    spinlock_unlock(&THREAD->lock);
390
    scheduler();
390
    scheduler();
-
 
391
 
-
 
392
    /* Not reached */
-
 
393
    while (1)
-
 
394
        ;
391
}
395
}
392
 
396
 
393
 
397
 
394
/** Thread sleep
398
/** Thread sleep
395
 *
399
 *