Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mgiza.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoredwardgao <edwardgao@9a26d1b7-1c8f-445c-8fdd-6576f508279d>2011-12-31 02:31:26 +0400
committeredwardgao <edwardgao@9a26d1b7-1c8f-445c-8fdd-6576f508279d>2011-12-31 02:31:26 +0400
commit630bf0b828c6831edce009da5b209c6f07cda027 (patch)
tree19ae4e0e3c116f35fb15cd26de44bbe86897c066
parent3406a6081d2173b4d47f788825d4a854a62c2698 (diff)
-rw-r--r--mgizapp/src/HMMTables.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/mgizapp/src/HMMTables.cpp b/mgizapp/src/HMMTables.cpp
index 5482a55..0a7175c 100644
--- a/mgizapp/src/HMMTables.cpp
+++ b/mgizapp/src/HMMTables.cpp
@@ -571,7 +571,7 @@ template<class CLS, class MAPPERCLASSTOSTRING> void HMMTables<CLS,
template<class CLS, class MAPPERCLASSTOSTRING> HMMTables<CLS,
MAPPERCLASSTOSTRING>::~HMMTables() {
-#if WIN32
+#if 0
for (typename hash_map<int,hmmentry_type>::iterator i=
init_alpha.begin(); i!=init_alpha.end(); i++) {
i->second.second->unlock();
@@ -582,9 +582,6 @@ template<class CLS, class MAPPERCLASSTOSTRING> HMMTables<CLS,
}
#endif
- lock->unlock();
- alphalock->unlock();
- betalock->unlock();
delete lock;
delete alphalock;
delete betalock;