Logo Search packages:      
Sourcecode: condor version File versions  Download package

bool DaemonCore::Send_Signal ( pid_t  pid,
int  sig 
)

Send a signal to daemonCore processes or non-DC process

Parameters:
pid The receiving process ID
sig The signal to send
Returns:
Not_Yet_Documented

Definition at line 4681 of file daemon_core.cpp.

Referenced by ScriptProc::Continue(), OsProc::Continue(), ToolDaemonProc::Hold(), ScriptProc::Hold(), OsProc::Hold(), ToolDaemonProc::Remove(), ScriptProc::Remove(), OsProc::Remove(), Send_Signal_nonblocking(), sendUpdates(), Shutdown_Graceful(), ScriptProc::ShutdownFast(), OsProc::ShutdownFast(), ToolDaemonProc::ShutdownGraceful(), ScriptProc::ShutdownGraceful(), OsProc::ShutdownGraceful(), ScriptProc::Suspend(), ParallelProc::Suspend(), OsProc::Suspend(), and MPIComradeProc::Suspend().

{
      classy_counted_ptr<DCSignalMsg> msg = new DCSignalMsg(pid,sig);
      Send_Signal(msg, false);

      // Since we ran with nonblocking=false, the success status is now available

      return msg->deliveryStatus() == DCMsg::DELIVERY_SUCCEEDED;
}


Generated by  Doxygen 1.6.0   Back to index