Hi Yang, There are multiple reactor threads that partition the select keys among themselves. They run independently from each other.
HTH, Yang Zhang wrote: > 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 -- Trustin Lee - Principal Software Engineer, JBoss, Red Hat -- what we call human nature is actually human habit -- http://gleamynode.net/
signature.asc
Description: OpenPGP digital signature
