问题
Is the Hunspell spelling library thread-safe?
回答1:
The answer is NO, A simple multi-threaded test application revealed that Hunspell uses per-instance resources for the spelling process, so only one thread can use it at any time - use locks/work queue/or instanciate a per-thread Hunspell instance.
来源:https://stackoverflow.com/questions/4639789/is-hunspell-thread-safe