nanogui: Bug in srvclip2.c


Previous by date: 3 Oct 2000 15:47:08 -0000 MS-DOS mouse driver not working., Arthur Tetzlaff-Deas
Next by date: 3 Oct 2000 15:47:08 -0000 Re: MS-DOS mouse driver not working., Greg Haerr
Previous in thread: 3 Oct 2000 15:47:08 -0000 Re: Bug in srvclip2.c, Alex Holden
Next in thread: 3 Oct 2000 15:47:08 -0000 Re: Bug in srvclip2.c, Alex Holden

Subject: Re: Bug in srvclip2.c
From: "Greg Haerr" ####@####.####
Date: 3 Oct 2000 15:47:08 -0000
Message-Id: <042501c02d51$7028d920$15320cd0@gregh>

: Instead of implementing this a server call, probably the easiest way to do
: it is to use setitimer() on the client side and set a flag in the alarm
: handler which causes the main loop to clear the flag and return a
: timeout event instead of simply rescheduling (search for "errno != EINTR"
: in nanox/srvmain.c). 

The easiest way to handle this will be to create a new call,
GetNextEventTimeout(), which will use the timeout value
in the client's existing select() code; quite simple.  If select()
returns with a timeout, I'll create a GR_EVENT_TYPE_TIMEOUT
and return it from GetNextEventTimeout().

Regards,

Greg
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: ####@####.####
: For additional commands, e-mail: ####@####.####
: 
: 


Previous by date: 3 Oct 2000 15:47:08 -0000 MS-DOS mouse driver not working., Arthur Tetzlaff-Deas
Next by date: 3 Oct 2000 15:47:08 -0000 Re: MS-DOS mouse driver not working., Greg Haerr
Previous in thread: 3 Oct 2000 15:47:08 -0000 Re: Bug in srvclip2.c, Alex Holden
Next in thread: 3 Oct 2000 15:47:08 -0000 Re: Bug in srvclip2.c, Alex Holden


Powered by ezmlm-browse 0.20.