volatile keyword

Gildas Bazin gbazin at netcourrier.com
Sat May 4 16:59:58 CEST 2002

Hi everybody,

I was just wondering why VLC doesn't make more use of the volatile keyword. 
For instance with the thread status variables like b_die, b_error...
I'm asking this because I already lost some time with the DirectX plugin 
where I'm using such variables and the compiler was optimizing a little bit 
too much and putting these in registers...



This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>

More information about the vlc-devel mailing list