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

Re: MiNT SHM compared to others



Tamminen Eero wrote:

> I begun to think about how X programs do this -- by shared memory.  That
> would be the fastest way to implement the stuff (locally).  By browsing
> MiNT manuals I got the impression that using SHM would actually be very
> simple.  However, as TeSche's W version currently works also under Linux
> (graphics stuff needs little-endian byte order, so no PC version :)),
> this 'should' then also work under Linux.  Do Linux and MiNT SHM schemes
> differ, and if they do, how?

Read up on mmap() and shmget(); these are the (BSD and SysV,
respectively) ways of handling shared memory under Unix (and both are
implemented in Linux and modern BSDs).  I don't know how similar they
are to MiNT's scheme.

Michael
-- 
Email: hohmuth@inf.tu-dresden.de
WWW:   http://www.inf.tu-dresden.de/~mh1/