Subversion Repositories HelenOS

Rev

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

Rev 2087 Rev 2089
Line 361... Line 361...
361
        if (thr->state == Sleeping)
361
        if (thr->state == Sleeping)
362
            sleeping = true;
362
            sleeping = true;
363
        spinlock_unlock(&thr->lock);
363
        spinlock_unlock(&thr->lock);
364
       
364
       
365
        if (sleeping)
365
        if (sleeping)
366
            waitq_interrupt_sleep(thr);
366
            thread_interrupt_sleep(thr);
367
    }
367
    }
368
   
368
   
369
    spinlock_unlock(&ta->lock);
369
    spinlock_unlock(&ta->lock);
370
    interrupts_restore(ipl);
370
    interrupts_restore(ipl);
371
   
371