|
Here is my usercase: When I implement some process management logic in application I very often do mistake when process termination is called from same process which means that rest logic (after #terminate call) is never executed. It is always tricky to find such cases and realize what the reason of bad concurrent behaviour.
I suggest to guard such case in #terminate and #suspend methods (same logic for suspend). So when #terminate is called on process which is currently executed error will be signalled. And we can provide explicit methods in addition like #terminateFromItself and suspendFromItself for the cases when it is really needed
|
|
|
Priority: 5 – Fix If Time
|
|
Status: Work Needed
|
|
Assigned to: Everyone
|
|
Milestone: Pharo7.0
|
Go to Case
|
|