reckart commented on issue #175:
URL: https://github.com/apache/uima-ruta/issues/175#issuecomment-2463802583

   A threadsafe class is one that can safely be used from multiple threads at 
the same time. The CAS is typically not thread-safe. We also assume that 
analysis engines are not thread-safe by default.
   
   So you need at least one CAS per thread.
   
   If your analysis engines are not thread-safe, you also need one per thread.
   
   Having one-per-thread does not make either the CAS or the analysis engine 
thread-safe. However, it makes the whole setup multi-threaded/parallel despite 
the CAS/AE not being thread-safe.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@uima.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to