• Responsiveness
- User interaction in parallel with data retrieval
• Utilization of MP Architectures
• Resource Sharing between Threads (vs. Process)
E.g. Synchronization by accessing shared data
• Economy (vs. Process)
- If the task is the same, why not share the code?
- In Solaris 2, creating a process is about 30 times slower than threads. Context switch threads is about 5 times slower.
Benefits of Multi-Threaded Programming
Posted by
^+jUstinN+^
Thursday, July 30, 2009
Labels: OS 5
0 comments:
Post a Comment