[Quickfix-developers] QuickFIX, java and threads - added blockingStart() to SocketAcceptor
Brought to you by:
orenmnero
From: Alex H. <al...@an...> - 2003-05-06 13:06:19
|
Hi, On my platform (redhat 8, gcc 3.2, sun jdk 1.4.1_02) I'm still getting thread crashes if threads are spawned outside java (perhaps a thread local storage problem in the JVM?). So as to not affect the behaviour of the existing start() method, instead of modifying start(), I have added a blockingStart() method to the SocketAcceptor. This fixes my crash bug, and may also be useful to people that want to handle FIX messages in the main thread (e.g. if FIX is all the application does....) ChangeLog follows. Cheers, Alex. 2003-05-06 Alex Hornby <al...@an...> * src/java/org_quickfix_SocketAcceptor.cpp: add blockingStart * src/java/org_quickfix_SocketAcceptor.h: add blockingStart * src/java/src/org/quickfix/SocketAcceptor.java: add blockingStart |