Question around GOnce structure in Glib



Hello,

            We are currently in the process of standardizing GTK+ libraries in LSB-Desktop project. During the process, I ran into the GOnce structure in Glib library. I will like to understand why the member variables of this structure are declared volatile. I am trying to find out if LSB should maintain these member volatile or if it is ok not to.

 

Thanks for the help.

 

-Rajesh

 



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