Re: [Vala] volatile variable



On Wed, 2014-06-11 at 16:54 +0800, Nor Jaidi Tuah wrote:
Is there any way to declare a volatile?
Gedit highlighting indicates that it is a keyword in vala.
But trying

  volatile int xx;

gives a compiler error.


Nice day
Nor Jaidi Tuah


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).

Best regards

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]