Matt Post created JOSHUA-296:
--------------------------------

             Summary: Refactor threading code
                 Key: JOSHUA-296
                 URL: https://issues.apache.org/jira/browse/JOSHUA-296
             Project: Joshua
          Issue Type: Improvement
            Reporter: Matt Post
            Assignee: Kellen Sunderland
            Priority: Minor
             Fix For: 6.1


The thread-handling code is a bit more complicated than it needs to be. We'd 
like to simplify this using Executors while maintaining the current 
stream-based processing features:

- Input stream: decoding starts and is multithreaded even before the whole 
input has been received (e.g., so that STDIN works)
- Multithreading: translations are automatically assigned across threads in a 
thread pool
- Output stream: decoding returns right away and callers can block while 
waiting for translations to assemble



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to