[sheepdog] [PATCH 1/2] add helper macros to try lock and unlock based on urcu
morita.kazutaka at lab.ntt.co.jp
Thu Nov 1 07:23:01 CET 2012
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
More information about the sheepdog