The Great Symbian

Anything under the sun goes here!

WINDOWS XP THREAD


Implements the one-to-one mapping
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)

JAVA THREADS
- Java threads are managed by the JVM

- Java threads may be created by:
  • Extending Thread class
  • Implementing the Runnable interface


0 comments:

FEEDS

Add to Google Reader or Homepage