* [Xenomai-help] Semaphore Behavior
@ 2007-02-23 10:45 Preetam Joshi
2007-02-23 12:18 ` Jan Kiszka
0 siblings, 1 reply; 2+ messages in thread
From: Preetam Joshi @ 2007-02-23 10:45 UTC (permalink / raw)
To: xenomai-help
[-- Attachment #1: Type: text/plain, Size: 273 bytes --]
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 ?
Thanks,
Preetam
[-- Attachment #2: Type: text/html, Size: 300 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] Semaphore Behavior
2007-02-23 10:45 [Xenomai-help] Semaphore Behavior Preetam Joshi
@ 2007-02-23 12:18 ` Jan Kiszka
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2007-02-23 12:18 UTC (permalink / raw)
To: Preetam Joshi; +Cc: xenomai-help
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-02-23 12:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-23 10:45 [Xenomai-help] Semaphore Behavior Preetam Joshi
2007-02-23 12:18 ` Jan Kiszka
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.