Re:A hybrid thread / fiber task scheduler written in C++ 11
by cheez on Sunday February 09, 2020 @09:52PM
(#22286043)
I don't particularly like the name defer. It seems to operate similarly to Boost ScopeExit but the name does not imply that.
[ Parent
| on HN ]
Re:A hybrid thread / fiber task scheduler written in C++ 11
by diath on Sunday February 09, 2020 @11:42PM
(#22286478)
The name is likely inspired by Go's defer statement which works in a similar fashion: https://blog.golang.org/defer-panic-and-recover