At Thu, 01 Nov 2012 14:04:23 +0800, Liu Yuan wrote: > > I think the old convention to use int to indicate true or false is okay. > bool is rather new type. Anyway, it depends on the user to define the > type, and we can rely on gcc to warn out if not appropriate defined type. Perhaps, it would be better to define uatomic_bool so that developers can easily know that the variable must be accessed with uatomic_set_{true,false}. Thanks, Kazutaka |