On 04/06/2020 16:22, Gedare Bloom wrote:

In the github version this code is conditional on sys/cpuset.h being present.

Well, we do have a sys/cpuset.h in newlib. It doesn't have these BSD
definitions though. Probably either:
1. Add more stuff to sys/cpuset.h to make it support BSDisms. This
would mean adding cpuset_setaffinity support in rtems, I guess.
2. Figure out how to disable the conditional code using the
cpuset_setaffinity function.
The <sys/cpuset.h> is already as compatible as possible to glibc and FreeBSD. There is always room for improvement, however, in this area it will be difficult.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to