All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Preetam Joshi <j.preetam@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Semaphore Behavior
Date: Fri, 23 Feb 2007 13:18:41 +0100	[thread overview]
Message-ID: <45DEDBA1.70900@domain.hid> (raw)
In-Reply-To: <e45fe62b0702230245w5f373b0etc8828b042b97c4f0@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 489 bytes --]

Preetam Joshi wrote:
> Hi all,
> 
> I am using the rt_sem_p and rt_sem_v API's in my semaphore application.
> What
> i would like to know is whether the API rt_sem_p is a blocking call or not?
> Reasons being when i use it in my code the task does not block when it
> encounters rt_sem_p ?
> 

Check http://www.xenomai.org/index.php/API_documentation

If you are unsure what the state your your semaphore is before calling
rt_sem_p, have a look at rt_sem_inquire().

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

      reply	other threads:[~2007-02-23 12:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-23 10:45 [Xenomai-help] Semaphore Behavior Preetam Joshi
2007-02-23 12:18 ` Jan Kiszka [this message]

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=45DEDBA1.70900@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=j.preetam@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.