Re: problems to embedd kaffe in Amaya

Date view Thread view Subject view Author view

From: Godmar Back (gback@cs.utah.edu)
Date: Wed Sep 09 1998 - 16:26:23 EDT


>
> On Wed, 09 Sep 1998, Godmar Back wrote:
> >To elaborate on my previous comment:
> > Basically, if we could get X to use jthread's "read()" when it
> >tries to read the next event --- which could be done by somehow telling
> >Xlib where to read from --- you could turn Toolkit.isMultiThreaded on,
>
> We don't have to - we simply can do something like
>
> evtGetNextEvent(..) {
> ..
> int fd = XConnectionNumber(X->dsp); /* on POSIX sys, only */
> read( fd, buf, 0); /* "blocking" */
> ..
> XNextEvent(..);
> ..
> }
>
> Let me give it a try..
>

 Hmmm, how do you get XNextEvent to use the data in the "buf" you
just read?

        - Godmar


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:56:56 EDT