[Quickfix-developers] Thread Issue - Please Help
Brought to you by:
orenmnero
From: <Ned...@ao...> - 2008-08-19 16:56:56
|
Hello All, I’m having a problem with what appears to be a thread issue. I have an application that processes execution reports. The execution reports are being captured in the onMessage function and then sent to our internal functions for processing. What appears to be happening is that at times a message comes in and the callback that is handling the message is executing on a separate thread. This is evident by our own internal message processing which has logs, etc. Additionally, it only appears to be happening with poss dup messages. Is it possible to ensure that a QuickFix application is single threaded? Will using the SynchronizedApplication class do this? Please keep the following in mind: · This is an MFC application · It uses the poll() function of the SocketInitiator class · It uses a SocketInitiator Thank you for your time and efforts Ned **************It's only a deal if it's where you want to go. Find your travel deal here. (http://information.travel.aol.com/deals?ncid=aoltrv00050000000047) |