[rtems commit] alarm.c: Per comment add debug code for kill() failing

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Dec 10 07:43:54 UTC 2013


On 2013-12-10 02:46, Joel Sherrill wrote:
> +  #if defined(RTEMS_DEBUG)
> +    /*
> +     *  There is no reason to think this might fail but we should be
> +     *  cautious.
> +     */
> +    assert(status == 0);
> +  #endif

For this we have now _Assert():

http://www.rtems.org/onlinedocs/doxygen/cpukit/html/assert_8h.html#ab823f93fcbe2a4beb27633f7df422515

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list