On Mon, 12 Mar 2001, Jos Hulzink wrote:

> On Mon, 12 Mar 2001, Christoph Egger wrote:
> 
> > On Mon, 12 Mar 2001, Jos Hulzink wrote:
> >
> > > I have not been able to look at the Galloc code yet (unable to reach
> > > site). But, my two dollarcents:
> >
> > I can send you a tarball in private, if you want.
> 
> Got it now, but a recent -compiling- ggi tarball would be appreciated. I
> forgot where to get it, I used to click on a link on the site :)


ftp://ftp.ggi-project.org/pub/ggi/

When this doesn't work for you, then try:

ftp://152.19.254.81/pub/ggi/

 
> > > > 4. When a buffer is stored on disk, should I emulate MMIO -access by
> > > > using mmap() or should I use filedescriptors?
> > >
> > > Question not understood. I think a disk-buffer should be implemented like
> > >
> > > fd=fopen ('mydir/mybuf.fer');
> > > buf=mmap (...fd...);
> > >
> > > using a filedescriptor AND mmap
> >
> > That is what I want to say with "emulation MMIO-access by using
> > mmap()". With "using _only_ filedescriptors" I mean something like
> > this:
> > fd = open("mydir/mybuf.fer", O_CREATE | O_TRUNC | O_RDWR,0600);
> > size = read(fd, buf, count);
> > ...
> > size = write(fd, buf, count);
> > ...
> > close(fd);
> > You see, what I mean?
> 
> Yup. Think mmap is more flexible (one buffer with more items is
> hard to do with the second implementation.)

Yes, right you are. But I don't know, if mmap() is under Windows
available. That's important, since there are some X-servers for
Windows available, too. So, if mmap() is not available there, then
GGI respectively libGAlloc won't work there...


CU,

Christoph Egger
E-Mail: [EMAIL PROTECTED]

Reply via email to