On 25.01.21 22:07, Sam Daniel via Xenomai wrote: > On Mon, Jan 25, 2021 at 12:20 PM Sam Daniel <[email protected]> > wrote: > >> Is it possible to look up from userspace code all of the IDDP/XDDP labels >> that exist in the registry without leaving the primary domain? >> >> I have tried a few different ways of reading the contents of >> /proc/xenomai/registry/rtipc/iddp. The inotify API causes mode switches (it >> relies on select or poll), not to mention that inotify does not work well >> with virtual filesystems. And using the C++ filesystem library to read the >> contents of the directory also causes mode switches (filesystem >> interactions). >> >> Is there a real-time API function that I can use to query these labels? >> > > C++ filesystem library is causing mode switches because of an mmap deep in > its call stack, not because of "filesystem interactions" like I initially > thought. >
What is the use case you need label listing from RT context for? Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux
