what is concurrency?
making progress on more than one task at a time. (independent of each other)
pros of concurrency
programs dont starve
all programs get processing time
one program / task doesn’t have to finish to start another
everything is in use
concurrency on single core?
single core, not simultaneous as only one task can be carried out at a time so doesnt finish one but jumps to next
concurrency vs parallelism
cons of concurrency
High recourse usage
Deadlock (programs waiting on each other)
Last changeda year ago