[Quickfix-developers] AHA! : QuickFIX Python and Twisted
Brought to you by:
orenmnero
|
From: Robert P. <rob...@gm...> - 2006-11-16 19:24:05
|
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
|