3 ms·
That's the first thing that comes to mind for me when the discussion comes up; the Linux kernel uses the technique extensively. To my surprise, Dijkstra actual
by scott_s 17y ago
That's the first thing that comes to mind for me when the discussion comes up; the Linux kernel uses the technique extensively.
To my surprise, Dijkstra actually said the same thing. He called them "alarm exits."
- fhub 17y agoRobert Love ended an opinionated discussion on goto in the linux kernel in '03. His pseudo code demonstrates a neat error stack unwind technique for c. http://kerneltrap.org/node/553/2131 http://kerneltrap.org/node/553/2131 (Scroll to bottom for pseudo code)