[Quickfix-developers] quickfix, ruby, and threads
Brought to you by:
orenmnero
From: Dan M. <da...@co...> - 2007-02-06 13:57:17
|
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 |