RE: Health monitor of a multi-threaded process
From: David Schwartz
Date: Mon Sep 10 2007 - 16:50:34 EST
> > 4) Threads are not in any infinite loop.
> This requires solving the Halting Problem. If your management is
> demanding this
> feature, I suggest informing them that it is mathematically impossible.
Christ, these academics! They take real world problems that engineers
actually *solve* every day and then "prove" they're impossible.
Actually, it's trivial to solve this. Just wait. If the thread terminates,
it wasn't in an infinite loop.
If you've got the budget, I believe SGI has a machine that can do an
infinite loop in less than five seconds. That will save a lot of waiting.
DS
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/