Hi Oleg,

you're probably right; I also missed that and also ignored Ilias statement:

> After that I execute some threads. 

@Ilias: what are those threads doing, are they working as expected?

Best,
  Sebastian

> Am 21.09.2016 um 15:13 schrieb Oleg Hahm <oliver.h...@inria.fr>:
> 
> 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.
> 
> Cheers,
> Oleg
> -- 
> /* Identify the flock of penguins.  */
>        linux-2.2.16/arch/alpha/kernel/setup.c
> _______________________________________________
> devel mailing list
> devel@riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel

_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to