At 08:48 PM 6/20/01 +0200, Martin Devera wrote:
>BTW is not possible to implement threads as subset of process ?
>Like thread list pointed to from task_struct. It'd contain
>thread_structs plus another scheduler's data.
>The thread could be much smaller than process.
>
>Probably there is another problem I don't see, I'm just
>currious whether can it work like this ..

Threads would then run, as a group, at the priority of the process, and 
then by priority within the process thread group.  To be truely useful, 
threads need to be able to have their run priority divorced from the 
priority of the spawning process.

By the way, I'm surprised no one has mentioned that a synonym for "thread" 
is "lightweight process".

Satch

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to