public static function module_process($process, &$object_pass = null, $select_modules = false)
 {
     // Run a module process on all registered modules
     foreach (pts_module_manager::attached_modules($process, $select_modules) as $module) {
         pts_module_manager::set_current_module($module);
         $module_response = pts_module_manager::module_call($module, $process, $object_pass);
         switch ($module_response) {
             case pts_module::MODULE_UNLOAD:
                 // Unload the PTS module
                 pts_module_manager::detach_module($module);
                 break;
             case pts_module::QUIT_PTS_CLIENT:
                 // Stop the Phoronix Test Suite immediately
                 pts_client::exit_client();
                 break;
         }
     }
     pts_module_manager::set_current_module(null);
 }