I read about threads in some operating system books , and i confuse about the following:
A. Some books when talk about:
- many to one relation mean:many threads in user space map to one thread in kernel .
- one to one relation mean:one thread in user space map to one thread in kernel
- many to many relation mean: some threads in user space multiplex in lower or equal threads in kernel space .
B. On the other hand, some book talk about 4 relations between threads & processes
- many to one ,mean:A process defines an address space and dynamic resource ownership. Multiple threads may be created and executed within that process.
- one to one ,mean:Each thread of execution is a unique process with its own address space and resources.
- one to many ,mean: thread may migrate from one process environment to another. This allows a thread to be easily moved among distinct systems.
- many to many ,mean:Combines attributes of (many to one) and (one to many) cases.
The cases in A is clear but in B i didn't understand number 3 , would you please explain it ? Thanks.