- Posts: 15
- Thank you received: 0
HAL to user process event passing
3 years 7 months ago #267654
by zdenek
HAL to user process event passing was created 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!
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.
3 years 7 months ago #267954
by bkt
Replied by bkt on topic HAL to user process event passing
Please Log in to join the conversation.
3 years 7 months ago #267966
by zdenek
Replied by zdenek on topic HAL to user process event passing
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
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.
Time to create page: 3.721 seconds
