[Quickfix-developers] Is quickfix.Session.sendToTarget() thread safe?
Brought to you by:
orenmnero
|
From: Brendan B. <br...@ka...> - 2006-05-11 15:31:24
|
Hi, I have created a FIX server using the Java support in QuickFIX v1.11.1. Twice while testing I've seen this emitted (to stderr presumably): terminate called after throwing an instance of 'std::length_error' what(): basic_string::_S_create /home/bboerner/bin/my_fix_server: line 32: 12183 Aborted java -cp <blah, blah, blah> I'm thinking that this may be an uncaught exception in the C++ code. It prompts me to ask the question: Are calls to quickfix.Session.sendToTarget(msg, session_id) thread safe? I'm assuming so since I see 'Locker locker( s_mutex )' in say Session::lookupSession() but thought I'd verify instead of simply assuming... Regards, Brendan |