summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/event-history.h
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2013-08-28 18:38:26 -0700
committerAnand Avati <avati@gluster.org>2013-09-06 17:54:10 -0700
commit2347a1a7594dafc1e6a74784287efe84963fe4ea (patch)
tree1e9e6f7aae96b92dc429f9d8b3285099944c79d8 /libglusterfs/src/event-history.h
parent1955f7dc84239f23660e23e637f9ddcc672cbeb7 (diff)
parser: make the parser thread safe.
The volfile parser thread safe by guarding the parsing phase in a mutex. Thread safety becomes a problem when there are multiple glfs_t objects created by gfapi and all of them potentially parse the respective volfiles at the same time. Change-Id: I4376019c4956994b72397ab36e6ac3ce849797ec BUG: 1004519 Signed-off-by: Anand Avati <avati@redhat.com> Reviewed-on: http://review.gluster.org/5790 Reviewed-by: Raghavendra G <rgowdapp@redhat.com> Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@gluster.org>
Diffstat (limited to 'libglusterfs/src/event-history.h')
0 files changed, 0 insertions, 0 deletions