Please enable JavaScript.
Coggle requires JavaScript to display documents.
Threads (Motivation (Multiple tasks can be implemented (Update display,…
Threads
Motivation
-
-
-
Can simplify code, increase efficiency
-
-
Grand Central Dispatch
-
Extensions to C, C++ languages, API, and run-time library
-
-
-
Thread Cancellation
-
-
-
-
If thread has cancellation disabled, cancellation remains pending until thread enables it
-
-
-
-
OpenMP
Set of compiler directives and an API for C, C++, FORTRAN
-
-
-
-
-
-
Thread Pools
-
Advantages
-
-
Separating task to be performed from mechanics of creating task allows different strategies for running task
-