Re: problems to embedd kaffe in Amaya

Date view Thread view Subject view Author view

From: Peter C. Mehlitz (peter@transvirtual.com)
Date: Wed Sep 09 1998 - 13:35:43 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..

-- Peter


Date view Thread view Subject view Author view

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