This is something that should be fixed in the svn version. The
current release doesn't spawn a new thread. If you want to use the
release version, you should spawn a ruby thread and call start in there.
--oren
On Feb 6, 2007, at 7:56 AM, Dan McCormick wrote:
> QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/
> html/index.html
> QuickFIX Support: http://www.quickfixengine.org/services.html
>
> Hi,
>
> I'm new to both Quickfix and Ruby so forgive me if I'm missing
> something
> basic, but it doesn't look like threading is working in Ruby.
>
> In executor.rb, if you add a
>
> print "hello\n"
>
> after line 103, acceptor.start, the "hello" never gets printed.
> Similarly, a print statement after an initiator.start call in a client
> never gets called. Everything else works fine -- I've successfully
> set
> up executor with a client, and they heartbeat correctly.
>
> Modifying the C++ version of executor, the print statements work.
> I've
> also tested non-Quickfix-related threading in Ruby, and that seems to
> work fine.
>
> I'm using Quickfix 1.12.4 compiled with Ruby and MySQL support on a
> Linux Fedora Core 3 (with gcc 3.4.4) system.
>
> Any ideas?
>
> Thanks,
> Dan
>
>
> ----------------------------------------------------------------------
> ---
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your
> job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Quickfix-developers mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>
|