pkarashchenko commented on PR #8951: URL: https://github.com/apache/nuttx/pull/8951#issuecomment-1578718293
@davids5 I expect this to be fixed by https://github.com/apache/nuttx/pull/7464 and later optimised by https://github.com/apache/nuttx/pull/9039 But above example will be working only in non-SMP case since `sched_lock()/sched_unlock()` will not work if threads are running on the different cores. Or you need to add `pthread_attr_setaffinity_np()` for two pthreads and bind them to the same CPU. I will prioritise addressing all comments from https://github.com/apache/nuttx-apps/pull/1711 this week as all prerequisites seems to be met. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
