That's how I use it and never had issues with it

jf


-----Message d'origine-----
De : Ben West [mailto:[email protected]] 
Envoyé : Wednesday, December 01, 2010 3:35 PM
À : [email protected]
Objet : Thread safety of FastVectorHighlighter

Hey,

Is it acceptable to have a single static FastVectorHighlighter which all 
threads access without locking? Looking at the code, it seems like the only 
reason this would fail is if two threads wanted to pass different arguments to 
the constructor; everything else is not persistent.

Is that correct?

Thanks,
-Ben


      


Reply via email to