Re: [Quickfix-developers] Re: ThreadedSocketAcceptor Segmentation Faults
Brought to you by:
orenmnero
|
From: Caleb E. <cal...@gm...> - 2005-11-08 13:13:12
|
On 11/8/05, Alberto Bellido Rodr=EDguez <bellido@3.14financial.com> wrote: #0 0x4048318c in pthread_detach () from /lib/tls/libpthread.so.0 > #1 0x400d5edc in FIX::thread_detach (thread=3D0) at Utility.cpp:344 > #2 0x4009323f in FIX::ThreadedSocketAcceptor::removeThread > (this=3D0xbffff500, s=3D57) at stl_map.h:332 > #3 0x40093335 in FIX::ThreadedSocketAcceptor::socketThread (p=3D0x3) at > ThreadedSocketConnection.h:51 > #4 0x40482b3c in start_thread () from /lib/tls/libpthread.so.0 > #5 0x4032092a in clone () from /lib/tls/libc.so.6 I really think this call should be changed to a thread_join, at least on UNIX systems. Detaching a running thread seems like playing Russion Roulett= e to me. -- Caleb Epstein caleb dot epstein at gmail dot com |