• Anton Khirnov's avatar
    lavu: add wrappers for the pthreads mutex API · 2443e522
    Anton Khirnov authored
    Also add no-op fallbacks when threading is disabled.
    
    This helps keeping the code clean if Libav is compiled for targets
    without threading. Since we assume that no threads of any kind are used
    in such configurations, doing nothing is ok by definition.
    
    Based on a patch by wm4 <nfxjfg@googlemail.com>.
    2443e522
thread.h 1.47 KB