There's no real processing overhead on shared memory, the data is just
there and any process can access it. OTOH, using FIFO's makes the
data less corruptible by random pointer errors in your code.
If speed is your main concern, I'd go with shared memory.
Norm
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 10, 2002 11:16 PM
Subject: [rtl] share memory again
> hi:)
> i need about 2MByte memory (had better DMAable)
> and have tried FIFO for the past two days.
> it works well.
>
> Need to decide which kind of memory to use, FIFOs or
> shared memory?
> What concerns me mostly is the speed of communication.
>
> So i would like to try shared memory.
> Any suggestion will be appreciated.:)
> Thanks
> Yours
> elina
>
>
>
>
>
>
>
> ===============================================
>
> �ֻ������ǵ��ʣ��Ӵ˽��Ѳ��óһ�����֡������ʡ�
>
> ���� 163�������ʡ��ֻ����� ����
> �� �ֻ�������ǵ��������ַ���������
> �� �������������ֻ����ţ���ʱ�����ʼ��Ľ������
> �� ���������κ���ҵ����
> �� ����İ����շѷ�ʽ�����ÿ��ֻ��5Ԫ
>
> ���������
> http://vip.163.net/mobile/mobile.htm
>
> ===============================================
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/
>
>
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/