Re:Down the Golang Nil Rabbit Hole
by bbatha on Tuesday March 30, 2021 @09:10AM
(#26634148)
The go statement could return a handle to the go routine. There can be a cancel magic function that cancels the go routine. You can regain the task local storage by using this handle as a key into a map of task data. This would have been a breaking change particularly in CGo threads but itβs a vastly simpler model for the user.
[ Parent
| on HN ]
There are no comments on this comment yet.