Error Message: Mutex

I pass a parameter to an new thread,like below

static void SioThread(void* arg)//function for thread
{…}

if (rpi->thread.sio.start(callback(SioThread,rpi))) {//get error her!

}
the err message is
++ MbedOS Error Info ++
Error Status: 0x80010133 Code: 307 Module: 1
Error Message: Mutex: 0x0, Parameter error
Location: 0x801EF69
Error Value: 0x0
Current Thread: main Id: 0x20006C28 Entry: 0x801BCF5 StackSize: 0x1000 StackMem: 0x200053A0 SP: 0x2002FF38
For more info, visit: mbedos-error
– MbedOS Error Info –

What does this mean?

rpi is a pointer.

Hello,

  • MbedOS version?
  • Target?
  • Tool?

It seems like you use the Thread API inside your own class. So we could not correctly understand what you do with it.

The rpi is pointer ok, that seems to be clear, but what a type?

BR, Jan