Re: [Quickfix-developers] AHA! : QuickFIX Python and Twisted
Brought to you by:
orenmnero
|
From: Robert P. <rob...@gm...> - 2006-11-16 21:31:29
|
OK, so I guess I need to back out on the claim that the --with-pth option made a difference. I rebuilt python 2.4 with all default options, and it runs as expected. So, all I can claim is that the default, system installed python has issues. cheers, rob On 11/16/06, Rich Holm <rh...@ql...> wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Is pth what you want? pth isn't really preemptive threading. > > Cheers, > Rich > > > > Robert Parrott wrote: > > So I updated the verions of python I was using __from__ 2.3.4 > > > > > python -v > > Python 2.3.4 (#1, Oct 11 2006, 06:18:43) > > [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2 > > > > which, from the rpm spec file, was compiled with options: > > > > configure --enable-ipv6 --enable-unicode=%{unicode} --enable-shared > > > > To python 2.4.4 complied by hand with the --with-pth option. > > > > After this change, it seems that the code runs fine, with the > > initiator and main threads working in parallel. It seems to invoke > > callbacks fine, and I was able to telnet in and subscribe to a market > > data feed just fine. > > > > As such, my guess is that it's a pthreads issue (on linux) and not a > > python version issue, as such. I know that for Zope, in order to run > > correctly, you need to compile python with threading enabled, so this > > may be the same way (I know that much Zope code is written in C/C++). > > > > cheers, > > rob > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |