2 ms·
Please, don't even think about such approach if you handle many long-living tasks (like, say, client connections) in a single OS-level unit of execution (proces
by drdaeman 13y ago
Please, don't even think about such approach if you handle many long-living tasks (like, say, client connections) in a single OS-level unit of execution (process or thread) and the error/exception happens for a single task but crashes the whole stack.
- V-2 13y agoJust make sure they are caught and handled. Your single task should not allow any exceptions to bubble up all the way to the whole stack. Whether they are your own or not.