Re: [Quickfix-developers] QuickFIX Python and Twisted
Brought to you by:
orenmnero
|
From: Oren M. <or...@qu...> - 2006-11-16 18:57:47
|
The generated SWIG file is making a call to PyEval_InitThreads. I'm pretty baffled why it's not working for Robert. I've tested it on Mac OS/X and Fedora Code 4 and both seem to be working. Under OS/X I'm using Python 2.3.5 and on Fedora Python 2.4. I've even taken Robert's script and am reliably getting "snores" printed out to the screen every second. Would you be able to try out the latest from svn and report your results? --oren On Nov 16, 2006, at 9:07 AM, Rich Holm wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/ > html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Are you calling PyEval_InitThreads()? > > Cheers, > Rich > > > > Oren Miller wrote: >> QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/ >> html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> Eureka. >> >> There is a -threads parameter that can be used with -python. It >> looks like it automatically does exactly what we were talking about >> implementing and then some. So all I had to do was update the bash >> script. Easy as can be. I checked in the results. Give it a try >> and see how it goes. >> >> --oren |