Closed GoogleCodeExporter closed 9 years ago
It is not threadsafe if you use a single instance.
You should create a new instance for each conversion you do, or at least make
sure that the same instance isn't used by several threads at once. The former
should be just fine; the setup cost for creating a new instance isn't very
high. That's what we do on Stack Overflow.
Since the instance stores information about the current state of the
conversion, having two threads use the same instance is indeed bound to fail.
That is by design.
Original comment by ahp...@googlemail.com
on 12 Oct 2011 at 2:36
Thanks for letting me know.
Original comment by Iain.Rob...@gmail.com
on 12 Oct 2011 at 10:15
Original issue reported on code.google.com by
Iain.Rob...@gmail.com
on 21 Sep 2011 at 4:19