On SMP
Jonas Sundström
jonas at kirilla.com
Sun Jan 23 04:50:31 PST 2005
Matthew Dillon <dillon at xxxxxxxxxxxxxxxxxxxx> wrote:
...
> (1) The concept of a user 'thread'. Every user thread has
> an execution context and its own stack, and other things.
>
> (2) The concept of a kernel context, used when the
> userland thread performs a system call.
> A kernel context needs its own stack.
>
> Now, in a non-threaded program there is only one user
> 'thread' and only one kernel context (the kernel process).
...
> The library creates a kernel context for each cpu and
> manages any number of threads using those fixed
> number of contexts.
How can a userland(?) library set up a kernel context?
/Jonas Sundström. www.kirilla.com
More information about the Users
mailing list