From: Mathieu Desnoyers Date: Fri, 16 Jun 2017 21:23:12 +0000 (-0400) Subject: Cleanup: use CMM accessors for consumer_quit variable X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=10211f5c32e51e398cb37508851956a2f8b7dbbf;hp=10211f5c32e51e398cb37508851956a2f8b7dbbf;p=lttng-tools.git Cleanup: use CMM accessors for consumer_quit variable Use CMM_LOAD_SHARED and CMM_STORE_SHARED, which are strictly equivalent to a volatile variable, in line with the rest of the lttng-tools project. Also move its declaration to a header, rather than having multiple declarations in C files, now following our coding style. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau ---