Created
April 8, 2012 11:56
-
-
Save omo/2336850 to your computer and use it in GitHub Desktop.
ProcessManager::resume
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void ProcessManager::resume(ProcessBase* process) | |
{ | |
... | |
// Now service the event. | |
try { | |
process->serve(*event); | |
} catch (const std::exception& e) { | |
std::cerr << "libprocess: " << process->pid | |
<< " terminating due to " | |
<< e.what() << std::endl; | |
terminate = true; | |
} catch (...) { | |
std::cerr << "libprocess: " << process->pid | |
<< " terminating due to unknown exception" << std::endl; | |
terminate = true; | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment