[riot-devel] Usefulness of a panic() function?

ROUSSEL Kévin Kevin.Roussel at inria.fr
Mon Jan 27 13:24:52 CET 2014


I was wondering, if a panic() function (like the one present in Unix 
systems, see http://en.wikipedia.org/wiki/Kernel_panic) wouldn't be an 
useful addition for low-level system developers: the idea is to freeze 
the system in the state that has provoked an unrecoverable error, with 
an error message.

It may be helpful when debugging the OS kernel, or (very) low-level 
code--like hardware drivers, or network MAC layer... Do you agree?

      Kévin Roussel
      Doctorant, projet LAR
      Équipe MADYNES, INRIA Nancy Grand-Est / LORIA
      Tél. : +33 3 54 95 86 27
      Kevin.Roussel at inria.fr

More information about the devel mailing list