rtdm_event_wait -EINTR error
Hello,
We have some user space task running into a rtdm driver (ioctl). this task are waiting for a event with rtdm_event_wait.
When our appliction crash, we see that rtdm_event_wait return with -4 (-EINTR). is this a normal behavior ?
Thanks
Johann
Quoted 9 lines · Johann Obermayr
Hello,
We have some user space task running into a rtdm driver (ioctl). this task are waiting for a event with
rtdm_event_wait.When our appliction crash, we see that
rtdm_event_waitreturn with -4 (-EINTR).
is this a normal behavior ?
Please read your question above again, and ask yourself whether you actually gave us enough information to figure out what you are talking about.
Signature · 1 line
Philippe.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 29 lines · Johann Obermayr
Am 08.03.2016 um 11:24 schrieb Philippe Gerum:
Quoted 6 lines · Johann Obermayr
Quoted 5 lines
Hello,
We have some user space task running into a rtdm driver (ioctl). this task are waiting for a event with
rtdm_event_wait.Quoted 8 lines
Quoted 4 lines
When our appliction crash, we see that
rtdm_event_waitreturn with -4 (-EINTR).
is this a normal behavior ?Please read your question above again, and ask yourself whether you actually gave us enough information to figure out what you are talking about.
ok,
we have a application with some rt-task.
Some of the task are calling a function in our rtdm drive withrt_dev_ioctl.in the ioctl we have follow code.
if ((rval = rtdm_event_wait(&pIrqData->irq_event)) != 0) { if (rval != -EIDRM) { printk(KERN_ERR "rtdm_event_wait failed %d, irq:%d\n", rval, local->irq_number); } return rval; }
Quoted 5 lines
if our application crash (we have no backtrace) , we see in the syslog some "
rtdm_event_waitfailed -4" messages.why we see this message ?
This return code is documented:
Signature · 1 line
Philippe.