3 ms·
The Linux kernel does not just use gotos to "jump forwards." If you look careful, they've implemented a simplified version of try-catch-finally. It's a structur
by scott_s 15y ago
The Linux kernel does not just use gotos to "jump forwards." If you look careful, they've implemented a simplified version of try-catch-finally. It's a structured use of gotos, implementing clear semantics.
- tmhedberg 15y agoI didn't mean to suggest that Linux kernel gotos were just arbitrary forward jumps. I know that they are used for error handling. That's the legitimate usage I was alluding to, I just wasn't specific about it.