]> git.sesse.net Git - vlc/commit
Provide C11-like atomics in <vlc_atomic.h>
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 11 May 2012 17:24:04 +0000 (20:24 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 11 May 2012 17:54:44 +0000 (20:54 +0300)
commitad3586579f956b6856d2f7c0c4cbd860fd8241af
treed366843111f81f38512d7ff14b475ad71fcc7bd6
parentc64c794ee123b8a7d57682db6b753bf1dadec54f
Provide C11-like atomics in <vlc_atomic.h>

Since this constitutes mostly of macros and type definitions, it would
not fit too well in compat/. Most of the code would end up in
<vlc_fixups.h> rather than compat/. Moreover, I doubt that those
functions would be detected properly with AC_CHECK_FUNCS or
AC_REPLACE_FUNCS.

Anyway, VLC already has a separate header, and it will need to keep it
until <stdatomic.h> can be relied upon... many years from now.
include/vlc_atomic.h