I’d like to create Timer which accesses other legato API (let’s say GPIO) in new thread. When I do this with java.util.Timer I get error
May 8 08:39:26 fx30 user.emerg Legato: *EMR* | _UNKNOWN_[4803]/framework T=unknown | LE_FILENAME GetCurrentThreadPtr() 461 | Legato threading API used in non-Legato thread!
How can I make my custom thread “legato”? Documentation states I can use Thread Control API (le_thread_InitLegatoThreadData()), but… I cannot access that too.