rtdm_event_pulse in user space
Hello,
Is there a way to make art_event_pulse.
A kernel function rtdm_event_pulse is available, but no user space function.
Thanks.
Best Regards
Johann
Quoted 7 lines · Johann Obermayr
Hello,
Is there a way to make a
rt_event_pulse.
A kernel functionrtdm_event_pulseis available, but no user space function.
rtdm_event_pulse() is part of the inter-driver API, which explains why there is no userland access to it. Assuming you need to wake up a RTDM task waiting on a particular event via rtdm_event_wait(), then you have to implement an rt/nrt ioctl handler in your RTDM driver which will send the event. Userland can issue this ioctl request from userland.
Signature · 1 line
Philippe.
Am 25.11.2013 10:46, schrieb Philippe Gerum:
Quoted 11 lines · Johann Obermayr
Quoted 7 lines
Hello,
Is there a way to make a
rt_event_pulse.
A kernel functionrtdm_event_pulseis available, but no user space function.
rtdm_event_pulse()is part of the inter-driver API, which explains why there is no userland access to it. Assuming you need to wake up a RTDM task waiting on a particular event viartdm_event_wait(), then you have to implement an rt/nrt ioctl handler in your RTDM driver which will send the event. Userland can issue this ioctl request from userland.
Hi,
in userspace there are rt_event_signal & rt_event_clear, but no rt_event_pulse. i need rt_event_pulse to make my source compatible with EventPulse Window-Function.
Best Regards
Johann
Quoted 16 lines · Johann Obermayr
Am 25.11.2013 10:46, schrieb Philippe Gerum:
Quoted 9 lines · Johann Obermayr
Quoted 7 lines
Hello,
Is there a way to make a
rt_event_pulse.
A kernel functionrtdm_event_pulseis available, but no user space function.Quoted 6 lines
rtdm_event_pulse()is part of the inter-driver API, which explains why there is no userland access to it. Assuming you need to wake up a RTDM task waiting on a particular event viartdm_event_wait(), then you have to implement an rt/nrt ioctl handler in your RTDM driver which will send the event. Userland can issue this ioctl request from userland.
Quoted 8 lines
Hi,
in userspace there are
rt_event_signal&rt_event_clear, but nort_event_pulse.
i needrt_event_pulseto make my source compatible with EventPulse Window-Function.
You mentioned both rt_event_pulse, and rtdm_event_pulse in your initial post, which is confusing: those are two different APIs.
RT_EVENTs - posted by rt_event_signal - from the native API are not what you look for. Check the RT_SEM object, with rt_sem_create() using the S_PULSE flag.
Signature · 1 line
Philippe.
Am 26.11.2013 11:55, schrieb Philippe Gerum:
Quoted 26 lines · Johann Obermayr
Quoted 16 lines
Am 25.11.2013 10:46, schrieb Philippe Gerum:
Quoted 9 lines · Johann Obermayr
Quoted 7 lines
Hello,
Is there a way to make a
rt_event_pulse.
A kernel functionrtdm_event_pulseis available, but no user space function.Quoted 6 lines
rtdm_event_pulse()is part of the inter-driver API, which explains why there is no userland access to it. Assuming you need to wake up a RTDM task waiting on a particular event viartdm_event_wait(), then you have to implement an rt/nrt ioctl handler in your RTDM driver which will send the event. Userland can issue this ioctl request from userland.Quoted 8 lines
Hi,
in userspace there are
rt_event_signal&rt_event_clear, but nort_event_pulse.
i needrt_event_pulseto make my source compatible with EventPulse Window-Function.
Quoted 4 lines
You mentioned both
rt_event_pulse, andrtdm_event_pulsein your initial post, which is confusing: those are two different APIs.
RT_EVENTs- posted byrt_event_signal- from the native API are not what you look for. Check theRT_SEMobject, withrt_sem_create()using theS_PULSEflag.
Thanks,
i will looking for rt_sem_create and S_PULSE.
Regards
Johann