Re: [Vala] volatile variable
- From: Paul Marques Mota <pmarquesmota gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] volatile variable
- Date: Mon, 16 Jun 2014 02:29:10 +0200
2014-06-15 1:20 GMT+02:00 Maciej Piechotka <uzytkownik2 gmail com>:
On Wed, 2014-06-11 at 16:54 +0800, Nor Jaidi Tuah wrote:
Is there any way to declare a volatile?
As a side question - why do you need volatile? In most cases it's not
needed (unless you write kernel/driver and do memory based I/O).
Or unless you write password management code. See
https://www.securecoding.cert.org/confluence/display/seccode/MSC06-C.+Beware+of+compiler+optimizations
Regards,
--
Paul
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]