s at mlng.net
Wed Sep 21 15:37:02 CEST 2016
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?
> Am 21.09.2016 um 15:13 schrieb Oleg Hahm <oliver.hahm at 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.
> /* Identify the flock of penguins. */
> devel mailing list
> devel at riot-os.org
More information about the devel