diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2012-11-23 22:52:06 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2012-11-23 22:52:06 +0400 |
commit | 7b36e11276ea41866ff80ab814a6dddc4cb73b8f (patch) | |
tree | bdd1662f7d1e0b7bc76f8289560e36108e6afe05 /moses/FactorCollection.cpp | |
parent | cb955488710edcc7b3d3ef9c3dbd62374bb1ab14 (diff) |
make fuzzy match pt threadable by marking it as non-threadable! TODO - do it properly
Diffstat (limited to 'moses/FactorCollection.cpp')
-rw-r--r-- | moses/FactorCollection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/FactorCollection.cpp b/moses/FactorCollection.cpp index 0e4de8eb8..849830f4d 100644 --- a/moses/FactorCollection.cpp +++ b/moses/FactorCollection.cpp @@ -43,7 +43,7 @@ const Factor *FactorCollection::AddFactor(const StringPiece &factorString) FactorFriend to_ins; to_ins.in.m_string.assign(factorString.data(), factorString.size()); #endif // BOOST_VERSION - { + { // read=lock scope boost::shared_lock<boost::shared_mutex> read_lock(m_accessLock); #if BOOST_VERSION >= 104200 // If this line doesn't compile, upgrade your Boost. |