c++ interview

3 flashcards · Other · by mattlangl

  1. async vs parallel programming

    async = non-blocking, execute w/o waiting for complete parallel = same time

  2. 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

  3. deadlock

    occurs when 2 concurrent transactions can't make progress because one waits for the other to release a lock