All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: 嵌入式工程师 <ericvic@163.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] freescale(imx53)  with xenomai patch
Date: Wed, 05 Jun 2013 20:31:20 +0200	[thread overview]
Message-ID: <51AF83F8.2040703@xenomai.org> (raw)
In-Reply-To: <2bb4890b.c7e9.13f14c2da98.Coremail.ericvic@163.com>

On 06/05/2013 04:34 PM, 嵌入式工程师 wrote:

> Now ,I suddenly noticed,P and V operation must not be interrupted operation.


They can not be, they grab the nucleus spinlock.

> Before I did not know my colleague spent rt_sem_p () and rt_sem_v ().
> Today, I suddenly saw it.
> I also would like to ask, rt_alarm_inquire is available in rt_sem_v () operation, timing counts?
> Because they are in the case with a timer but also a very accurate timekeeping pv operation.


I am sorry, but I do not understand what you ask. The unit of the
timings used and returned by the native skin services is documented in
the API documentation.

Besides, using the native API to handle interrupts is deprecated.

-- 
                                                                Gilles.


  reply	other threads:[~2013-06-05 18:31 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-30 15:27 [Xenomai] freescale(imx53) with xenomai patch 嵌入式工程师
2013-05-30 18:21 ` Gilles Chanteperdrix
2013-05-31  1:34   ` 嵌入式工程师
2013-05-31  1:36     ` 嵌入式工程师
2013-05-31  5:32       ` Gilles Chanteperdrix
2013-05-31  5:54         ` 嵌入式工程师
2013-06-01  8:41           ` 嵌入式工程师
2013-06-01 10:16             ` Gilles Chanteperdrix
2013-06-03  1:36               ` 嵌入式工程师
2013-06-03  1:47                 ` 嵌入式工程师
2013-06-03  6:03                 ` Gilles Chanteperdrix
2013-06-03  6:31                   ` 嵌入式工程师
2013-06-03  8:24                   ` 嵌入式工程师
2013-06-03 11:46                     ` Gilles Chanteperdrix
2013-06-05 14:34                       ` 嵌入式工程师
2013-06-05 18:31                         ` Gilles Chanteperdrix [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-05-31  1:50 嵌入式工程师
2013-06-01  8:43 嵌入式工程师

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=51AF83F8.2040703@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=ericvic@163.com \
    --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.