Re: [Quickfix-users] ThreadedSocketInitiator/Acceptor + Application - occasional socket errors
Brought to you by:
orenmnero
From: Mike G. <mg...@co...> - 2013-03-26 16:16:45
|
Looks like socket recv/send is returning EINTR, meaning that the thread received a signal during the syscall. Are you intentionally using posix signals in your program? If so, are you taking steps in your main program to block all signals, then explicitly handle them on one thread? Or are you perhaps unintentionally using signals, e.g. by using sleep(3) (from unistd.h) instead of nanosleep? -- Mike Gatny Connamara Systems, LLC |