HAL to user process event passing

More
3 years 7 months ago #267654 by zdenek
I need to signal upstream from boolean HAL pins or signals to a user space process, using a proper kernel-based IPC so the [slow] user space process can be suspended until signaled from a [fast] HAL thread. I could not find anything like that when consulting the existing component list, so I am about to create this component. But before I do I wanted to see if I was perhaps missing anything or if anyone had any other suggestions.
I am envisioning to simply take a boolean input and send it over via one of the standard IPC mechanisms, likely a message queue or a pipe.
Thanks!

Please Log in to join the conversation.

More
3 years 7 months ago #267954 by bkt

Please Log in to join the conversation.

More
3 years 7 months ago #267966 by zdenek
Thanks. I just wanted to check if I was missing an existing mechanism/component.
I have already written the real-time component (and it's user process counterpart) I needed -- it took just a few lines of code.
Cheers

Please Log in to join the conversation.

More
3 years 6 months ago #268008 by bkt
good.

Have a nice Lcnc adventure.

Please Log in to join the conversation.

Time to create page: 3.721 seconds
Powered by Kunena Forum