8

Hunspell 拼写库是线程安全的吗?

4

1 回答 1

8

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.

于 2011-01-09T14:51:31.150 回答