void ClientMain::removeSignalHandler (  )  [private]

Definition at line 526 of file ClientMain.cpp.

00526                                              {
00527                 // remove the client from the static vector.
00528                 // if the static vector is empty now, then unregister the
00529                 // static signal handler function...
00530                 
00531                 ClientMain::lockHandledInstances();
00532                 int position = ClientMain::handledInstancesPosition(this);
00533                 if (position >= 0) {
00534                         ClientMain::handledInstances.erase(ClientMain::handledInstances.begin() + position);
00535                         if (ClientMain::handledInstances.size() == 0) {
00536                                 signal(SIGINT, SIG_DFL);
00537                                 signal(SIGTERM, SIG_DFL);
00538                                 signal(SIGKILL, SIG_DFL);
00539                         }
00540                 }
00541                 ClientMain::unlockHandledInstances();
00542         }


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