uniVocity / univocity-parsers

uniVocity-parsers is a suite of extremely fast and reliable parsers for Java. It provides a consistent interface for handling different file formats, and a solid framework for the development of new parsers.
915 stars 251 forks source link

Add synchronized to ConcurrentCharLoader.stopReading() . Fixes #487 #488

Open spalac24 opened 3 years ago

spalac24 commented 3 years ago

This should address #487 . It's required since this method is called from multiple threads by this library. Alternatively, the callers mentioned in the issue could be fixed individually, but this seemed more reliable, simpler, and less likely to interfere with anything else.