n
Windows X.P Threads
· Implements the one-to-one mapping, kernel-level
· Each thread contains
-A thread id
-Register set
-Separate user and kernel stacks
-Private data storage area
· The register set, stacks, and private storage area are known as the context of the threads
· The primary data structures of a thread include:
-ETHREAD (executive thread block)
-KTHREAD (kernel thread block)
-TEB (thread environment block)
Linux Threads
· Linux refers to them as tasks rather than threads
· Thread creation is done through clone() system call
· clone() allows a child task to share the address space of the parent task (process)
0 comments:
Post a Comment