acassis commented on code in PR #6433:
URL: https://github.com/apache/incubator-nuttx/pull/6433#discussion_r897231328


##########
arch/arm/src/cxd56xx/cxd56_farapi.c:
##########
@@ -196,14 +196,14 @@ void farapi_main(int id, void *arg, struct modulelist_s 
*mlist)
     {
       /* Save the current cpuset */
 
-      sched_getaffinity(getpid(), sizeof(cpu_set_t), &cpuset0);
+      nxsched_get_affinity(getpid(), sizeof(cpu_set_t), &cpuset0);

Review Comment:
   @pkarashchenko since the POSIX API name is sched_getaffinity/setaffinity, 
shouldn't be better to create nxsched_getaffinity/setaffinity?



-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to