[riot-users] Sleep doesn't wake up by using multple threads

Andreas "Paul" Pauli andreas.pauli at haw-hamburg.de
Mon Aug 31 15:48:05 CEST 2015


Hi Andreas,

Am 31.08.2015 um 14:19 schrieb Andreas Zoor:
> Hi,
> 
> I'm new at developing applications for riot and I'm trying to run two threads in one application. When the threas call sleep they were not woken up by the OS. I don't know why...

welcome to RIOT.

> void* thread_func(void* foo){

Are you using the original RIOT toolchain? You should have gotten
a "unused variable 'foo'" here which is treated as error and stops building.

> Created new Thread
> Thread1: Test :D
> Start new Thread
> Thread2: Test :D
> 
> Can you help me?

I'm assuming you *really* waited more than 10s, and dont get *any*
further reaction?

greetings
Paul


More information about the users mailing list