Re: Threads are processes that share more

Stephen Satchell
2001-06-20T22:09:57Z

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