/
What are threads?
What are threads?
And what problem do they solve in programming? Each thread has its own “stack”. Why problem were operating system threads initially designed to solve?
Initially it is just the fact that CPUs are much much much faster than input/output (I/O) which is much much slower. Operating system threads allow the CPU to used to many different things while waiting for slow I/O.
As CPU technology has progressed, CPU manufacturers have introduced the idea of ‘cores’ which means that these CPUs can executed in parallel on these cores. So architecting high performance software today means understanding these problems very well.
, multiple selections available,
Related content
Thread Pool
Thread Pool
More like this
How to launch a thread in Windows versus POSIX
How to launch a thread in Windows versus POSIX
More like this
Coroutines - we can give blocking programming without the overhead of many operating system threads.
Coroutines - we can give blocking programming without the overhead of many operating system threads.
More like this
Reference Counting
Reference Counting
More like this
Why do we need blocking and non blocking functions?
Why do we need blocking and non blocking functions?
More like this
Understand timing and thread interaction
Understand timing and thread interaction
More like this