Re: [Quickfix-developers] Acceptor / Initiator without self-spawning threads
Brought to you by:
orenmnero
From: Oren M. <ore...@ya...> - 2003-07-11 17:07:05
|
We've considered adding this some time ago, but the priority was never very high and never got around to it. This could theoretically be added fairly easily to the SocketInitiator and SocketAcceptor. Internally they both use the SocketMonitor class which has a block method. This could be setup as a non-blocking call (by setting the timeout to 0 seconds). A doWork method would then be able to delegate to it. --- Howard Engelhart <ho...@ex...> wrote: > Hello, > > From digging around in the code a bit I see that the > Initiators / Acceptors > spawn their own threads, and have their own internal > while loops. Is it > possible to use QuickFIX without the necessity of > those internal threads? > Can I control the threading entirely from outside > the library, with looping > calls to a DoWork type function on the Initiators / > Acceptors? > > Thanks, > > Howard > ho...@ex... > > > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |