[vlc-devel] [PATCH] vlc_common.h: Don't include vlc_threads.h

Hugo Beauzée-Luyssen hugo at beauzee.fr
Tue Aug 21 12:57:46 CEST 2018


On Tue, Aug 21, 2018, at 12:07 PM, Hugo Beauzée-Luyssen wrote:
> This allows vlc_interrupt.h to be included before vlc_threads and will
> simplify implementing threads C++ helpers in vlc_threads.h instead of
> vlc_cxx_helpers.hpp (with a weird/ugly check for VLC_THREADS_H_)

Scratch that part, since vlc_interrupt.h includes vlc_threads.h we can't use any function from vlc_interrupt.h inside vlc_threads.h, so I guess the helpers will stay in cxx_helpers.hpp :)

IMO the part about not having vlc_threads.h included by default still stands though.

-- 
  Hugo Beauzée-Luyssen
  hugo at beauzee.fr


More information about the vlc-devel mailing list