Skip to content
  • Rémi Denis-Courmont's avatar
    variables: privatise the callback CV · 5ab3e74b
    Rémi Denis-Courmont authored
    The condition variable was shared across all variables of a given
    object to save space, but it ends up waking up the wrong waiting
    threads.
    
    vlc_cond_t is not as large as it used to be. In fact, it could be as
    small as a single pointer: if we required holding the mutex during
    signal/broadcast. The nested mutex is only there to handle unprotected
    signalling.
    5ab3e74b