Concurrency and Parallel Algorithms

  1. Happens-Before and Cross-Thread Visibility

    Use program order and a synchronization edge to prove when a later read can rely on an earlier write.

    Graduate
  2. Data Races and Atomicity of Compound Operations

    Distinguish unordered conflicting accesses from lost updates within a sequence made of individually atomic operations.

    Graduate
  3. Mutexes and Invariants Across Critical Sections

    Choose one protected invariant and make every update preserve it when the lock passes between threads.

    Graduate
  4. Condition Variables and Predicate Loops

    Wait for a shared predicate without losing notifications or assuming that a wakeup reserves the desired state.

    Graduate
  5. Counting Semaphores and Bounded Buffers

    Account for free slots and available items separately and use a mutex for the buffer representation itself.

    Graduate
  6. Compare-and-Swap and Conditional Atomic Updates

    Tie an update to the value observed at a location and reuse the result of a failed attempt to reconsider the transition.

    Graduate
  7. Acquire and Release Ordering

    Use an atomic publication flag to carry an earlier result to a consumer under the language’s synchronization rules.

    Graduate
  8. Sequential Consistency and Interleavings

    Analyze a two-thread outcome by asking whether there is a global ordering that preserves each thread’s order.

    Graduate
  9. Deadlock and Global Lock Ordering

    Identify a wait cycle and prove why acquiring locks in a consistent strict order prevents that cycle.

    Graduate
  10. Blocking, Lock-Free, and Wait-Free Progress

    Compare progress guarantees under stalled threads and distinguish a system-wide completion argument from an individual step bound.

    Graduate
  11. Linearization Points and Concurrent Histories

    Place each completed operation at a logical instant within its interval and check that the result obeys a sequential specification.

    Graduate
  12. ABA and Versioned Atomic State

    Explain why observing the same representation twice can be insufficient and use an explicit version or lifetime guarantee where history matters.

    Graduate
  13. Epoch-Based Memory Reclamation

    Delay freeing retired objects until readers that could have observed them have passed a coordination boundary.

    Graduate
  14. Hazard Pointers and Deferred Reclamation

    Publish which object a reader intends to use and validate that the object is still reachable before accessing it.

    Graduate
  15. Work, Span, and Parallel Speedup

    Derive two lower bounds on parallel runtime and use their ratio to distinguish parallelism from processor count.

    Graduate
  16. Parallel Prefix Scans by Tree Traversal

    Compute every prefix with linear work and logarithmic span by separating subtree totals from incoming prefixes.

    Graduate
  17. Local Task Queues and Work Stealing

    Follow a worker that consumes local work and an idle worker that steals a pending task, then state the assumptions behind the speedup bound.

    Graduate
  18. Parallel Reductions and Reproducible Order

    Combine partial results along a tree while preserving the stated algebraic order and accounting for floating-point variation.

    Graduate
  19. Load Balancing Under Skewed Task Sizes

    Compare equal item counts with equal estimated work and account for the cost of changing partitions.

    Graduate
  20. Little’s Law for Concurrent Work in Flight

    Connect throughput, average occupancy and residence time for a stable system measured at one consistent boundary.

    Graduate