From: Mathieu Desnoyers Date: Sun, 12 Apr 2009 02:59:42 +0000 (-0400) Subject: change reader_data for reader_registry X-Git-Tag: v0.1~258 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=0a52082baa5dd26455966c42a96f3185767590b7;hp=0a52082baa5dd26455966c42a96f3185767590b7;p=userspace-rcu.git change reader_data for reader_registry > > In Figure 9, "reader_data" shouldn't be used as both a variable name > > and a structure tag. Furthermore, the text needs to explain what it > > is. > > I will defer to Mathieu on this one, though it would certainly prevent > using this code in a C++ program. > Yes, I've been lazy on the naming here. How about : struct reader_registry { pthread_t tid; long *urcu_active_readers; }; static struct reader_registry *registry; Signed-off-by: Mathieu Desnoyers ---