Re: [xSocket-develop] specifying an executor for the dispatcher pool
Status: Inactive
Brought to you by:
grro
|
From: Gregor R. <gre...@gm...> - 2010-08-27 05:58:00
|
Hello Mark, the current version of xSocket does not support setting custom executors for the dispatcher. A dispatcher requires a dedicated thread which runs in an endless loop waiting for network events. Gregor -------- Original-Nachricht -------- > Datum: Wed, 25 Aug 2010 16:39:02 +0200 > Von: Mark van Holsteijn <mar...@gm...> > An: xso...@li... > Betreff: [xSocket-develop] specifying an executor for the dispatcher pool > In xsocket it is possible to specify an executor for dispatcher threads > (workerpool). Is it also possible to specify an executor for the > dispatcher? > The documentation suggests that #CPU +1 dispatcher threads are created by > xsocket. See > http://xsocket.sourceforge.net/core/tutorial/V2/TutorialCore.htm#tocTutorial35 > > Does xsocket indeed create threads for the dispatcher pool? > > In order to use the xsocket library in a Connector in a j2ee container, > The > library should not be creating any threads itself. Thread Management > should > be done by the container. > > > Cheers, > > Mark > > > -- > ing.Mark van Holsteijn > senior consultant > Equi Librio Consultancy & Coaching BV. > tel: +316-22-374-114, ma...@eq... |