All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: suresh reddy <sureshreddy.balijepalli@domain.hid>
Cc: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Hanging
Date: Wed, 24 Aug 2011 14:13:24 +0200	[thread overview]
Message-ID: <4E54EAE4.2060705@domain.hid> (raw)
In-Reply-To: <CAL+uwv-D111pO40ZT=ipXU+V1Ss8Fi4L1DfXWj=o+f2UxFubaA@mail.gmail.com>

On 08/24/2011 12:51 PM, suresh reddy wrote:
> Dear all,
> 
> Iam trying to communicate two process using message . In one process i
> called a dummy function (doing nothing except printing something for 2000
> times) .
> 
> Iam trying to calculate the time elapsed for this process to process
> communication .
> 
> 1. The program working fine if i print or execute something for once  like
> rt_printf("xenomai"); But if i used
> 
> for (i=0; i<2000; i++)
> 
> {
> 
> rt_printf("xenomai");
> 
> }
> 
> if i used like this the execution stops after printing for some 100 times or
> so on my Pandaboard.  Please find the attached program.

Are you sure you are not simply filling rt_printf buffer and never
leaving primary mode?

-- 
					    Gilles.


  reply	other threads:[~2011-08-24 12:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-24 10:51 [Xenomai-help] Hanging suresh reddy
2011-08-24 12:13 ` Gilles Chanteperdrix [this message]
2011-08-24 12:35   ` suresh reddy
2011-08-24 12:59     ` Gilles Chanteperdrix
2011-08-24 14:12       ` suresh reddy
2011-08-24 16:28         ` Gilles Chanteperdrix
2011-08-25  9:25           ` suresh reddy
2011-08-25 17:57             ` Gilles Chanteperdrix
2011-08-25 18:18               ` suresh reddy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E54EAE4.2060705@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=sureshreddy.balijepalli@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.