Commit e94f4f23 authored by Steven Murray's avatar Steven Murray
Browse files

My so say "transparent" addition of the Daemon and Multithreaded daemon classes

actually causes a sgmentation fault for all C++ daemons at run time:

Program received signal SIGSEGV, Segmentation fault.
0x00002aaaaac89d7f in castor::server::BaseDaemon::addNotifierThreadPool (this=0x7fffffffe350, port=5012)
    at /home/murrayc3/castor/checkout/build/RPM/BUILD/castor-2.1.14-5/castor/server/BaseDaemon.cpp:128
warning: Source file is more recent than executable.
128	  m_threadPools['_']->setNbThreads(0)

This commit hopefully fixes the problem.
parent 93be3acb
......@@ -123,9 +123,9 @@ void castor::server::BaseDaemon::addNotifierThreadPool(int port)
new castor::server::UDPListenerThreadPool("_NotifierThread",
castor::server::NotifierThread::getInstance(this),
port);
*/
// we run the notifier in the same thread as the listening one
m_threadPools['_']->setNbThreads(0);
*/
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment