3 ms·
> Code should not be peppered something like the following: receive cancel -> throw cancel after 0 -> ok end Instead, cancellation should trigger cleanup
by ProfHewitt 7y ago
> Code should not be peppered something like the following:
receive cancel -> throw cancel after 0 -> ok end
Instead, cancellation should trigger cleanup to make it easier to recover. If no clean up is needed, then it doesn't have to be done.
Actors were designed for massively concurrent systems that are often physically distributed. Behavior change (including state change) is essential for Actors, e.g., security, performance, etc.