All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] rtdm_nrtsig_pend FAQ
@ 2014-11-12  8:47 Johann Obermayr
  2014-11-12  9:10 ` Philippe Gerum
  2014-11-12 16:44 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 15+ messages in thread
From: Johann Obermayr @ 2014-11-12  8:47 UTC (permalink / raw)
  To: Xenomai@xenomai.org

Hello,

we use rtdm_nrtsig_pend follow.

static rtdm_nrtsig_t wait_domain_nrt;
static DECLARE_WAIT_QUEUE_HEAD(wait_domain_wq);

void period_update()
{
         wait_domain_pend_count++;
         rtdm_nrtsig_pend(&wait_domain_nrt);
}

static void wait_domain_nrt_handler(rtdm_nrtsig_t nrt_sig, void *arg)
{
     wait_domain_call_count++;
     //wakeup wait_domain
     wait_domain_wakeup = 1;
     wake_up_interruptible(&wait_domain_wq);
}


period_update is called every millisecond.
this is on imx6 hardware with kernel 3.0.x and xenomai 2.6.2.1.

Why wait_domain_call_count can be smaller that wait_domain_pend_count.
The difference between the counters is growing.

Why ?

Best Regards
   Johann



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-11-14 13:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-12  8:47 [Xenomai] rtdm_nrtsig_pend FAQ Johann Obermayr
2014-11-12  9:10 ` Philippe Gerum
2014-11-12  9:20   ` Johann Obermayr
2014-11-12  9:50     ` Philippe Gerum
2014-11-12 10:53       ` Johann Obermayr
2014-11-12 11:30         ` Philippe Gerum
2014-11-12 16:44 ` Gilles Chanteperdrix
2014-11-13 16:30   ` Johann Obermayr
2014-11-13 16:33     ` Gilles Chanteperdrix
2014-11-14  9:53       ` Johann Obermayr
2014-11-14 10:20         ` Gilles Chanteperdrix
2014-11-14 12:37           ` Johann Obermayr
2014-11-14 12:47             ` Gilles Chanteperdrix
2014-11-14 13:05             ` Gilles Chanteperdrix
2014-11-14 13:45             ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.