Subversion Repositories HelenOS-historic

Rev

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

Rev 1661 Rev 1680
Line 444... Line 444...
444
    spinlock_unlock(&t->lock);
444
    spinlock_unlock(&t->lock);
445
   
445
   
446
    rc = waitq_sleep_timeout_unsafe(&t->join_wq, usec, flags);
446
    rc = waitq_sleep_timeout_unsafe(&t->join_wq, usec, flags);
447
   
447
   
448
    waitq_sleep_finish(&t->join_wq, rc, ipl);
448
    waitq_sleep_finish(&t->join_wq, rc, ipl);
-
 
449
    interrupts_restore(ipl);
449
   
450
   
450
    return rc; 
451
    return rc; 
451
}
452
}
452
 
453
 
453
/** Detach thread.
454
/** Detach thread.