Toward a better list iterator for the kernel
Toward a better list iterator for the kernel
Posted Mar 13, 2022 10:08 UTC (Sun) by PengZheng (subscriber, #108006)In reply to: Toward a better list iterator for the kernel by pankyraghv
Parent article: Toward a better list iterator for the kernel
Thanks for pointing me to SerenityOS. It seems that memory allocation failure will lead to crash:
https://github.com/SerenityOS/serenity/blob/master/AK/Vec...
https://github.com/SerenityOS/serenity/blob/master/AK/Vec...
I assume (it might be false) that C++ exception is not suitable for kernel development and some constrained embedded environment.
Are there any good guidelines for such C++ usages?
