[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: thread_suspend()
From: |
Thomas Bushnell, BSG |
Subject: |
Re: thread_suspend() |
Date: |
29 Aug 2001 13:42:38 -0700 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Gibran Hasnaoui <gibran@hurdfr.org> writes:
> > When the thread suspended call is made, does
> > the kernel schedule another thread to run. This cropped
> > up while trying to implementing schedule_timeout.
>
> As I understand, threads have `scheduled priorities', you can change
> them with thread_priority, so if you suspend a thread, I guess the
> kernel will switch to another thread, one with higher priorities.
>
> Or am I wrong ?
You are more or less correct.