Re: [Quickfix-developers] What thread or threads are involved when FIX::Session::sendToTarget is ca
Brought to you by:
orenmnero
From: Hei C. <str...@ya...> - 2013-02-06 03:53:20
|
If you use ThreadSocketInitiator, the caller's thread will be used all the way till send() returns. Otherwise, your message will be handed off to another thread. ________________________________ From: K. Frank <kfr...@gm...> To: Quickfix Developers List <qui...@li...> Sent: Tuesday, February 5, 2013 5:52 PM Subject: [Quickfix-developers] What thread or threads are involved when FIX::Session::sendToTarget is called? QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html Hello List! When the static member function FIX::Session::sendToTarget is called, does the calling thread execute the entire send procedure synchronously, all the way down to a socket write? Or does the processing get handed off to some other thread (such as the SocketAcceptor thread) to do most of the work. On a related note, I was trying to trace though the code, but I got confused: It looks to me like Session::send calls Session::sendRaw, but that Session::sendRaw calls Session::send. I must have missed a code branch somewhere, but I couldn't figure out where send drills down to actually pumping stuff over the wire. Could someone explain what is going on here? Thanks. K. Frank ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |