← Back to CoursesComputer Science: PhD Level

Neuroanatomy Explorer

Drag to rotate · scroll to zoom · click regions to explore

View
Loading 3D model…

Click a region
to explore it

Memory Deck

Flip each card and rate whether you knew it. Your score is saved.

Term
Definition

Deck complete — score saved.

Match the Pairs

Match each term to its definition. Finish the board to earn your score.

All matched — score saved.

Concept Constellation

Every key idea in this course, mapped as an explorable 3D constellation. Drag to rotate, scroll to zoom, click a node.

Click a node to read its definition.

Operating Systems, Concurrency, and Formal Verification

Manual: General · Subject: Computer Science

Study resource management, synchronization, memory models, and verification of concurrent systems.

Concurrency as a Semantic Problem

Research Framing

Operating systems expose the tension between abstraction and control: processes must share resources safely while preserving performance and fairness. Concurrency introduces subtle bugs that are often invisible under simple testing, making formal specification and verification essential in advanced work.

Core Concepts

Race condition
Output depends on timing between threads or processes.
Deadlock
A set of processes waits indefinitely on one another.
Livelock
Processes continue changing state without making progress.
Starvation
A process never gets the resources it needs.
💡

Verification Insight

Many concurrency bugs are schedule-dependent, so proofs often reason about all possible interleavings rather than a few sampled executions.

Synchronization Primitives

Mutexes

  • Mutual exclusion for critical sections
  • Simple but can deadlock if misused

Semaphores

  • Generalized signaling and resource counting
  • Powerful but easy to misuse

What is the main purpose of a critical section?

What property does linearizability capture?

Memory Models

Weak memory models permit reordering for performance, which means program correctness can depend on architecture-specific ordering rules. Research in memory consistency links compiler optimization, hardware design, and language semantics.

Why is formal verification valuable for concurrent systems?

Name one common cause of deadlock.