Make stream hash tables global to the consumer
authorDavid Goulet <dgoulet@efficios.com>
Thu, 11 Oct 2012 20:48:57 +0000 (16:48 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 19 Oct 2012 16:49:01 +0000 (12:49 -0400)
commit43c34bc328e6970b298c9f5cd661e2ca648ebf16
tree19019bd8c05211592f62ca6b84590a1a3b03236a
parentc869f647b0c4476645ab9ee01e362401fb8c1e42
Make stream hash tables global to the consumer

The data stream hash table is now global to the consumer and used in the
data thread. The consumer_data stream_ht is no longer used to track the
data streams but instead will be used (and possibly renamed) by the
session daemon poll thread to keep track of streams on a per session id
basis for the upcoming feature that check traced data availability.

For now, in order to avoid mind bugging problems to access the streams,
both hash table are now defined globally (metadata and data). However,
stream update are still done in a single thread. Don't count on this to
be guaranteed in the next commits.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/consumer.c
src/common/consumer.h
This page took 0.02473 seconds and 4 git commands to generate.