Hacker News new | ask | show | jobs
by Rusky 394 days ago
The handler doesn't have to follow the pattern of "do its work, resume the computation, go away."

It can instead do things like "do some work, resume the computation, do some more work."

Or even more invasively, "stash the computation somewhere, return from the handler site, let the rest of the program run for a while, then resume the computation."