ICU-3836 Translit deadlock fixed by removing mutex; now not thread safe.
X-SVN-Rev: 15830
This commit is contained in:
parent
1a2866f6a4
commit
c1b4de4f72
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user