• Rémi Denis-Courmont's avatar
    Win32: rework mutex/condition implementation. · cbea1a49
    Rémi Denis-Courmont authored
    Get rid of unsafe PulseEvent().
    Fix recursive mutex implementation (hopefully).
    Use critical section (fast non-shared/intra-process mutexes)
     rather than mutex handle (slow shared/inter-process mutexes) [1].
    Do not rely on unspecified locking when SignalObjectAndWait is alerted.
    Real vlc_cond_broadcast() support (hopefully).
    
    [1] should also merge the WinCE support with WinNT.
    cbea1a49
threads.c 31.2 KB