Programming

Concurrency

Terms

6 terms

  • Asynchronous programming

    Asynchronous programming lets a program start long operations such as I/O and continue other work without blocking, resuming when each result is ready.

  • Concurrency

    Concurrency in programming is structuring a program as tasks that make progress in overlapping time periods, sharing resources safely through coordination.

  • Mutex

    A mutex is a mutual exclusion lock that lets only one thread at a time enter a critical section, protecting shared data in concurrent programs from…

  • Parallelism

    Parallelism in programming means executing several computations at the same instant on multiple cores or processors to finish a workload faster.

  • Race condition

    A race condition is a concurrency defect in which a program's result depends on the unpredictable timing or ordering of threads or tasks.

  • Thread

    A thread is the smallest unit of execution that an operating system schedules, sharing its process's memory while keeping its own stack and registers.