From 1ff94ccf89b1bec45d602918474b6d89cb50519e Mon Sep 17 00:00:00 2001 From: Andreas-Joachim Peters Date: Tue, 9 Sep 2014 09:37:41 +0200 Subject: [PATCH] EC-ISA: avoid usage of table cache lock outside the class implementation by introducing the setEncodingTable/setEncodingCoefficient methods --- src/erasure-code/isa/ErasureCodeIsa.cc | 18 ++++-- .../isa/ErasureCodeIsaTableCache.cc | 58 +++++++++++++++++-- .../isa/ErasureCodeIsaTableCache.h | 6 ++ 3 files changed, 72 insertions(+), 10 deletions(-) diff --git a/src/erasure-code/isa/ErasureCodeIsa.cc b/src/erasure-code/isa/ErasureCodeIsa.cc index f3a947e8180f..962ab81f0437 100644 --- a/src/erasure-code/isa/ErasureCodeIsa.cc +++ b/src/erasure-code/isa/ErasureCodeIsa.cc @@ -379,8 +379,6 @@ int ErasureCodeIsaDefault::parse(const map