c++ interview
3 flashcards · Other · by mattlangl
async vs parallel programming
async = non-blocking, execute w/o waiting for complete parallel = same time
lock in concurrency
when multiple processes try to access same resource at same time, but can't at same time, so must wait for other to finish
deadlock
occurs when 2 concurrent transactions can't make progress because one waits for the other to release a lock