ICU-3836 Translit deadlock fixed by removing mutex; now not thread safe.

X-SVN-Rev: 15830
This commit is contained in:
Andy Heninger 2004-06-10 17:55:30 +00:00
parent 1a2866f6a4
commit c1b4de4f72

View File

@ -231,7 +231,7 @@ RuleBasedTransliterator::handleTransliterate(Replaceable& text, UTransPosition&
}
if (isDataOwned==FALSE) {
umtx_lock(&transliteratorDataMutex);
//umtx_lock(&transliteratorDataMutex);
}
while (index.start < index.limit &&
loopCount <= loopLimit &&
@ -239,7 +239,7 @@ RuleBasedTransliterator::handleTransliterate(Replaceable& text, UTransPosition&
++loopCount;
}
if (isDataOwned==FALSE) {
umtx_unlock(&transliteratorDataMutex);
//umtx_unlock(&transliteratorDataMutex);
}
}