Hi, how does Mina implement support for multithreading? Does it use Thread.interrupt() for letting aux threads notify the reactor thread of completion? Was there anything tricky or difficult about the implementation?

Is there a description of what exactly the threading models are? The closest thing I could find was this page on how to configure them:

http://mina.apache.org/configuring-thread-model.html

I'm wondering if there are multiple reactor threads that partition the selection keys among themselves, or if there is a single master that dispatches to a pool of workers (in which case the above interrupt stuff could make sense), or ...?

Thanks!

Yang
  • Multithreading Yang Zhang

Reply via email to