[vlc-devel] [PATCH 0/5] A 2nd subtitle feature
Rémi Denis-Courmont
remi at remlab.net
Fri Sep 25 10:18:09 CEST 2015
Le 2015-09-23 11:17, Aaron Wang a écrit :
> About the place of i_ord, I haven't modified it yet.
> Because I can't decide a good place. I don't really quite
> understant how it could be undefined behavior.
The specifications (e.g. ISO C11 and POSIX) say so. There are no needs
to understand: it is an arbitrary convention set by the specifications
and followed by the compilers.
Why the specifications says so and what could happen if you ignore them
are long topics beyond the scope of the VLC code reviews. Some ideas are
there:
https://software.intel.com/en-us/blogs/2013/01/06/benign-data-races-what-could-possibly-go-wrong
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list