• SheeEttin@lemmy.zip
    link
    fedilink
    English
    arrow-up
    9
    ·
    13 hours ago

    A futex (short for fast user-space mutex) is a low-level kernel system call used in Linux (and some other operating systems) to implement synchronization primitives like mutexes, semaphores, and condition variables. It’s designed to minimize the need for expensive context switches between user and kernel space by handling most operations in user space with atomic operations.