nanogui: Bug in srvclip2.c


Previous by date: 3 Oct 2000 22:06:36 -0000 Re: Bug in srvclip2.c, Greg Haerr
Next by date: 3 Oct 2000 22:06:36 -0000 GrReadArea for pixmaps, peter.igelaus.com.au
Previous in thread: 3 Oct 2000 22:06:36 -0000 Re: Bug in srvclip2.c, Greg Haerr
Next in thread:

Subject: Re: Bug in srvclip2.c
From: ####@####.####
Date: 3 Oct 2000 22:06:36 -0000
Message-Id: <Pine.LNX.4.10.10010040900210.20201-100000@helios.devel.igelaus.com.au>


> If I understood it right though, I think he wants to wait for a specific
> requested time rather than "when the next event happens, or we time out
> waiting for one". Which means that unless you want to rely on select()
> modifying the timeout value (something which isn't portable to a lot of
> non-Linux systems and wouldn't take account of the time spent in the
> client between GrGetNextEvent() calls), you'll have to work out the
> absolute time of the timeout on the first call (add the timeout to the
> result of a gettimeofday() call), then do another gettimeofday() to
> recalculate the timeout every time you call select().

No, I need to return if we get an event from the server, of from my fd, or
we timeout. And I need to be able to distinguish between them



From Peter


Previous by date: 3 Oct 2000 22:06:36 -0000 Re: Bug in srvclip2.c, Greg Haerr
Next by date: 3 Oct 2000 22:06:36 -0000 GrReadArea for pixmaps, peter.igelaus.com.au
Previous in thread: 3 Oct 2000 22:06:36 -0000 Re: Bug in srvclip2.c, Greg Haerr
Next in thread:


Powered by ezmlm-browse 0.20.