Multi-Threading

Noun · Development

Definitions

  1. A concurrency model in which a single process spawns multiple threads of execution that share the same memory space, enabling parallel work on multi-core CPUs but requiring synchronization primitives like mutexes and atomics to prevent data races.

    In plain English: Running multiple tasks at the same time within one program, sharing memory but needing careful coordination so they don't step on each other.

    Example: "Multi-threading cut the image processing time in half, but we had to add a mutex around the result vector to stop the occasional segfault."

Related Terms