void ClientMain::staticSignalHandlerWrapper ( int  sign  )  [static, private]

Definition at line 544 of file ClientMain.cpp.

00544                                                                        {
00545                 // on call by the os, call the member function signal handler for
00546                 // every object in the vector...
00547                 // then exit the programm...
00548                 
00549                 // ignore further signals
00550                 signal(SIGINT, SIG_IGN);
00551                 signal(SIGTERM, SIG_IGN);
00552                 signal(SIGKILL, SIG_DFL);
00553                 
00554                 ClientMain::lockHandledInstances();
00555                 
00556                 for(int i = 0; i < ClientMain::handledInstances.size(); i++) {
00557                         ClientMain::handledInstances.at(i)->signalHandler(sign);
00558                 }
00559                 
00560                 ClientMain::unlockHandledInstances();
00561                 
00562                 exit(sign);
00563         }


Generated on Wed Jun 25 14:47:08 2008 for keyvil by  doxygen 1.5.1