Is Hunspell thread safe?
-
08-10-2019 - |
Question
Is the Hunspell spelling library thread-safe?
Solution
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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow