Will pthreads utilize all cores?
-
I want to ensure I'm taking full advantage of all 6 cores. Will nuttx pthreads be scheduled across all 6 cores?
Thanks!
-
Hey, @Stanton
According to https://developer.sony.com/develop/spresense/docs/sdk_tutorials_en.html#_how_to_build_16
The default setting for feature/smp is dual-core (2-core). If you want to change the number of cores, change the number of SMP_NCPUS=2 in the sdk/configs/feature/smp/defconfig file. You can specify from 2 to maximum 6. -
@CamilaSouza Thank you! This is perfect.
-
@Stanton
Happy to help