[Quickfix-developers] Threading issue
Brought to you by:
orenmnero
From: Sharma H. <sha...@ho...> - 2004-09-28 16:25:35
|
Hi, I am using QuickFIX v1.8.0. The configuration file is defining more that one session. The session's socket initiator class ThreadedSocketInitiator. I have overloaded the fromApp(). Here I am trapping the messages coming from counterparty engine and pushing into a queue. void myclass::fromApp(const Message & msg, const SessionID & session) { receive(msg); } ... void receive(Message& msg) { //add to queue. add_queue(msg); } Question: 1. Is there any reason to assume this would cause any threading issues? Is fromApp() thread-safe? 2. Is there any limitation in quickfix that would limit the number of messages it can handle? Thanks in advance, Himanshu _________________________________________________________________ Seized by wanderlust? http://www.msn.co.in/Travel/ Have the best vacation ever. |