Saturday, 7 September 2013

user-level threads and kernel-level threads

What are two differences between user-level threads and kernel-level
threads? Under what circumstances is one type better than the other?
Answer: (1) User-level threads are unknown by the kernel,whereas the
kernel is aware of kernel threads. (2) On systems using either M:1 orM:N
mapping, user threads are scheduled by the thread library and the kernel
schedules kernel threads. (3) Kernel threads need not be associated with
a process whereas every user thread belongs to a process. Kernel threads
are generally more expensive to maintain than user threads as they must
be represented with a kernel data structure.

No comments:

Post a Comment

Oracle Reserved Words

Oracle  Reserved Words The following words are reserved by Oracle. That is, they have a special meaning to Oracle and so cannot be redefi...