change reader_data for reader_registry
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Sun, 12 Apr 2009 02:59:42 +0000 (22:59 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Sun, 12 Apr 2009 02:59:42 +0000 (22:59 -0400)
commit0a52082baa5dd26455966c42a96f3185767590b7
tree049e3ed82d14d3388eac6c8bc9d705ad24143a0f
parent2d6debff95ad695255d2ea9d590d1e418590b238
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 <mathieu.desnoyers@polymtl.ca>
urcu.c
This page took 0.027233 seconds and 4 git commands to generate.