MCPcopy Create free account
hub / github.com/Kitware/VTK / TriggerRMI

Method TriggerRMI

Parallel/Core/vtkMultiProcessController.cxx:427–443  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

425
426//------------------------------------------------------------------------------
427void vtkMultiProcessController::TriggerRMI(
428 int remoteProcessId, void* arg, int argLength, int rmiTag)
429{
430 if (this->BroadcastTriggerRMI)
431 {
432 vtkErrorMacro("TriggerRMI should not be called when BroadcastTriggerRMI is ON");
433 }
434
435 // Deal with sending RMI to ourself here for now.
436 if (remoteProcessId == this->GetLocalProcessId())
437 {
438 this->ProcessRMI(remoteProcessId, arg, argLength, rmiTag);
439 return;
440 }
441
442 this->TriggerRMIInternal(remoteProcessId, arg, argLength, rmiTag, false);
443}
444
445//------------------------------------------------------------------------------
446void vtkMultiProcessController::BroadcastTriggerRMIOnAllChildren(

Callers 10

TriggerBreakRMIsMethod · 0.95
MyMainFunction · 0.80
MyMainFunction · 0.80
MyMainFunction · 0.80
pipe2Function · 0.80
task3Function · 0.80
TriggerRMIFunction · 0.80
TestPProbeFunction · 0.80
MyMainFunction · 0.80

Calls 3

GetLocalProcessIdMethod · 0.95
ProcessRMIMethod · 0.95
TriggerRMIInternalMethod · 0.95

Tested by 3

TestPProbeFunction · 0.64
MyMainFunction · 0.64