Sebastian Huber commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5511#note_144218 In general yes, however, in this particular case there are some items to consider: 1. The bitset header files are in the RTEMS-specific part of Newlib: * newlib/libc/sys/rtems/include/sys/\_bitset.h * newlib/libc/sys/rtems/include/sys/bitset.h So, they are under control of RTEMS. 2. The bitset headers are used by the CPU set headers: * newlib/libc/sys/rtems/include/sys/cpuset.h * newlib/libc/sys/rtems/include/sys/\_cpuset.h 3. The CPU set headers are used by the Newlib provided `<pthread.h>` to define non-portable POSIX interfaces. 4. RTEMS uses these headers to implement the POSIX support. 5. The `<rtems/score/processormask.h>` and `<rtems/score/processormaskimpl.h>` header provide an internal API. The usage of the Newlib bitsets is just an implementation detail. It would be possible to replace the implementation. However, in this case you would have to duplicate code. You would still use the Newlib bitsets for the POSIX API parts of RTEMS. The duplicated implementation still has to consider the Newlib bitset for the conversion to/from CPU sets. We should keep it as is. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5511#note_144218 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
