* [Adeos-main] IPIPE mutex?
@ 2006-05-09 14:17 Florian Pose
2006-05-09 15:00 ` Philippe Gerum
0 siblings, 1 reply; 2+ messages in thread
From: Florian Pose @ 2006-05-09 14:17 UTC (permalink / raw)
To: adeos-main
Hello everybody,
I'm using an IPIPE domain for a cyclic realtime task and I have a cyclic
kernel timer applet running in the default domain. This two processes
now share a common resource. So I have to use some locking method, that
ensures, that if the process with the lower priority (e. g. the kernel
timer) holds the lock and the process with the higher priority (RT task)
is scheduled, the first one is scheduled again until it releases the lock.
In ADEOS there is a adeos_mutex_lock() call seeming to do exactly what I
want. Unfortunately IPIPE doesn't seem to have such a call.
How do I solve the problem with IPIPE?
Thanks a lot,
Florian
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Adeos-main] IPIPE mutex?
2006-05-09 14:17 [Adeos-main] IPIPE mutex? Florian Pose
@ 2006-05-09 15:00 ` Philippe Gerum
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2006-05-09 15:00 UTC (permalink / raw)
To: Florian Pose; +Cc: adeos-main
Florian Pose wrote:
> Hello everybody,
>
> I'm using an IPIPE domain for a cyclic realtime task and I have a cyclic
> kernel timer applet running in the default domain. This two processes
> now share a common resource. So I have to use some locking method, that
> ensures, that if the process with the lower priority (e. g. the kernel
> timer) holds the lock and the process with the higher priority (RT task)
> is scheduled, the first one is scheduled again until it releases the lock.
>
> In ADEOS there is a adeos_mutex_lock() call seeming to do exactly what I
> want. Unfortunately IPIPE doesn't seem to have such a call.
>
> How do I solve the problem with IPIPE?
>
The only way is to provide your own support for that. The I-pipe is just
a simple and straightforward real-time enabler a RTOS can use to build
complex services. E.g. www.xenomai.org.
--
Philippe.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-09 15:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-09 14:17 [Adeos-main] IPIPE mutex? Florian Pose
2006-05-09 15:00 ` Philippe Gerum
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.