Look up all IDDP/XDDP labels in the registry from userspace
jan.kiszka at siemens.com
Tue Jan 26 19:07:42 CET 2021
On 25.01.21 22:07, Sam Daniel via Xenomai wrote:
> On Mon, Jan 25, 2021 at 12:20 PM Sam Daniel <daniel.jacob.samuel at gmail.com>
>> 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
>> 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
What is the use case you need label listing from RT context for?
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
More information about the Xenomai