From 9f70b54d7a73b4f7900649868561ceb4a29ffd67 Mon Sep 17 00:00:00 2001 From: legendre1 Date: Fri, 8 Jun 2012 16:41:57 -0700 Subject: [PATCH] Cleanup PC printfs in handleEvents --- proccontrol/src/process.C | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/proccontrol/src/process.C b/proccontrol/src/process.C index 78a757e..810c667 100644 --- a/proccontrol/src/process.C +++ b/proccontrol/src/process.C @@ -5402,7 +5402,10 @@ bool Process::handleEvents(bool block) bool result = int_process::waitAndHandleEvents(block); if (!result) { - pthrd_printf("Error handling events for user\n"); + if (!block && ProcControlAPI::getLastError() == err_noevents) + pthrd_printf("Polling Process::handleEvents returning false due to no events\n"); + else + pthrd_printf("Error handling events for user\n"); return false; } return true; -- 1.8.3.1