method

wait_to_finish_all_process_controllers

wait_to_finish_all_process_controllers()
public

No documentation available.

# File lib/shell/process-controller.rb, line 68
      def wait_to_finish_all_process_controllers
        process_controllers_exclusive do
          while [email protected]?
            Shell::notify("Process finishing, but active shell exists",
                          "You can use Shell#transact or Shell#check_point for more safe execution.")
            if Shell.debug?
              for pc in @ProcessControllers.keys
                Shell::notify(" Not finished jobs in "+pc.shell.to_s)
                for com in pc.jobs
                  com.notify("  Jobs: %id")
                end
              end
            end
            @ProcessControllersCV.wait(@ProcessControllersMonitor)
          end
        end
      end