Chandasri G last edited by Chandasri G
Is multi-threading possible in SDK-CLI as it has to be written in C language?
can we use pthreads library for multiple threads
CamilaSouza DeveloperWorld last edited by
Yes, multi-threading is possible using SDK-CLI. You can use asymmetrical (ASMP) or symmetrical (SMP) multiprocessing.
@KamilTomaszewski gave a very good answer about multiprocessing in Spresense in the Questions regarding Multiprocessing topic.
Please refer to it to read further details.
You can use the pthreads library when using SMP (symmetric multiprocessing). SMP is controlled by Nuttx, so you just have to enable it and assign how many cores you want to allocate for it.
Let me know if I can help you any further.