Upcoming maintenance
Dear Customers and Partners.
This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.
This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.
We apologize for any inconvenience.
Multithreading using SPresence with Arduino SDK
-
Hi,
I am trying to run a multi-threaded program on the SPresence microcontroller using the Arduino SDK however, I am not sure how to create threads using the SDK. Would anyone be able to do a simple demonstrate how to create & end threads, wait for a thread, and send information to a thread with some code?
-
Hi @Vraj-Patel
You could take a look at the Nuttx tasks info pages and see if you can manage to create something from that:
http://www.nuttx.org/doku.php?id=wiki:nxinternal:nxtasking#nuttx_tasks
This should be possible to use in the Arduino SDK
@Vraj-Patel said in Multithreading using SPresence with Arduino SDK:
I am trying to run a multi-threaded program on the SPresence microcontroller using the Arduino SDK however, I am not sure how to create threads using the SDK. Would anyone be able to do a simple demonstrate how to create & end threads, wait for a thread, and send information to a thread with some code?