Re: The best queue for RT_PREEMPT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 04, 2008 at 02:49:41PM -0400, Mauricio A. Araya L?pez wrote:
> I have some experience working on RTAI, and I am trying to do
> something similar to a RT_FIFO. Which is the best method to have a
> FIFO queue between a real-time process and a non real-time process.
> Maybe a pipe is enough, or msgget, or directly have a shared memory
> space, etc... Any comment will be very welcome!

If your communication is message oriented, you can use POSIX Message
Queues. However, you can surely also use any other kind of other method,
as long as you don't lock shared ressources for too long.

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux