2 ms·
I guess I should have addressed that idea specifically. If you transfer total control to a subprogram that directly looks for halting, you've just moved the pr
by Dylan16807 16y ago
I guess I should have addressed that idea specifically. If you transfer total control to a subprogram that directly looks for halting, you've just moved the problem, you haven't really abstracted it.
Apply indirection to anything with unspecified runtime. When you need a result, put a reasonable waiting time on it, and if it doesn't happen assume the source has died and handle it as an error code.