WojciechMula / pyahocorasick

Python module (C extension and plain python) implementing Aho-Corasick algorithm
BSD 3-Clause "New" or "Revised" License
927 stars 122 forks source link

Thread safety #111

Closed jjhuff closed 5 years ago

jjhuff commented 5 years ago

Hello!

Is an Automaton thread safe? Specifically, calling iter on the same (finalized) Automaton from multiple threads.

Thanks

WojciechMula commented 5 years ago

Hi, the module is not thread safe at all.

jjhuff commented 5 years ago

ok, thank you!