[riot-devel] GNRC_NETWORKING

Oleg Hahm oliver.hahm at inria.fr
Wed Sep 21 15:13:05 CEST 2016

Hi Sebastian!

On Wed, Sep 21, 2016 at 02:50:31PM +0200, smlng wrote:
> you removed the shell, and doing so you also removed the main loop. So
> basically your program hits return 0 and terminates - which likely happens
> very fast after reboot. With this the RIOT-Kernel, network stack and
> everything stops working, so no logic remains to answer any pings or so. 

This shouldn't happen - and a quick test revealed that it is indeed not
happening. From the RIOT perspective main is basically a normal thread. If it
terminates, the kernel will just removes it from the list of scheduled threads
and continues as usual. Hence, all other threads should keep running.

/* Identify the flock of penguins.  */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20160921/22e6b377/attachment.sig>

More information about the devel mailing list