Re: [linux-audio-dev] Shared memory?

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Shared memory?
From: Ralfs Kurmis (kurmisk_AT_inbox.lv)
Date: Thu Jul 03 2003 - 18:24:52 EEST


Terve

Try out this example
Split it in seperate files
( Needs x )

RalfsK

> Hello. I have problems in getting a shared memory to work.
> What works is my shmalloc() which is used for sharing memory
> over fork(). What does not work is sharing memory between
> arbitrary processes. This latter uses ftok() with a pathname
> (e.g., "/tmp/globalshm") in identifying the shared memory.
> Each process uses the pathname for gaining access to the shared
> memory.
>
> The simple example in "http://www.funet.fi/~kouhia/shmserver.tar.gz"
> does not work. It looks like shmserver creates the shared memory,
> but shmclient cannot find it.

---
This message contains no viruses. 
Guaranteed by Kaspersky Anti-Virus.
www.antivirus.lv



New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Jul 03 2003 - 18:42:32 EEST