Hi! > >I use the sleep function and it seems that it blocks the other threads > >while sleeping. Has someone got the same problem? > >I use sleep in the main thread with RPL_UDP example. > > there is no such function in RIOT.
sleep() from POSIX is a wrapper around vtimer_sleep(). Usually, this will let
only the calling thread sleep (technically, it's MUTEX_BLOCKED). If this is
not the case, it looks like a bug with vtimer or hwtimer on the particular
platform. Can you test tests/vtimer_* and tests/hwtimer_* to verify that
timers on your platform (SAMR21, I assume?) are working.
Cheers,
Oleg
--
panic("huh?\n");
linux-2.2.16/arch/i386/kernel/smp.c
pgpN8XqfJRAHJ.pgp
Description: PGP signature
_______________________________________________ devel mailing list [email protected] http://lists.riot-os.org/mailman/listinfo/devel
