Multicore Programming
parallelism and concurrency
Programming challenge
Identifying task, balance, data splitting, data dependency, testing and debugging,
Data parallelism, Task parallelism,
Multithread Models
user thread to kernel thread
Many-to-one Model: many user thread to one kernel thread
One to one model: one user thread to one kernel thread
many to many model
Thread Libraries
Pthreads: specification for POSIX standard
Window Thread
Java Thread
Implicit Threading
threading from application developers to compilers and run-time libraries
Thread pools
OpenMP
Grand Central Dispatch(GCD) Mac OS X
Other approaches
Threading Issues
fork() and exec() system call: two versions
Signal handling
Thread cancellation: asynchronious cancellation, deferred cancellation
Thread-Local Storage
Scheduler Activations
Operating-System Examples
No comments:
Post a Comment