3 ms·
but wouldn't it be better for that second function to just monitor the queue - and pull data off the queue that is problematic? The most universal way to detec
by stcredzero 8y ago
but wouldn't it be better for that second function to just monitor the queue - and pull data off the queue that is problematic?
The most universal way to detect the problem is to catch the exception from the crash. However, the process that does that will be in the realm of undefined behavior, so it should be crashed.
Of course 'monitoring' is not exactly the same as 'processing' the actual data - so you'd have to know exactly what to pull off.
Your scheme is limited to all the known strings. My scheme can respond to anything in the future which might crash the 1st process.