nanogui: Problem With GrGetNextEventTimeout()?
Subject:
Re: [nanogui] Problem With GrGetNextEventTimeout()?
From:
"Greg Haerr" ####@####.####
Date:
8 Nov 2006 17:39:55 +0000
Message-Id: <059e01c7035c$e0bf81b0$0300a8c0@RDP>
> I am using Nano-X via Microwindows version 0.91 on an ARM platform.
Everything's been working fine but today I tried using the
GrGetNextEventTimeout() function only to find that, depending on the
timeout specified, it might never time out. What I found is that, if my
timeout is set to greater than 59 milliseconds, the function doesn't
return until an event occurs.
I've looked at the source code, and can't see any
reason for this. In particular, check the code
in _GrGetNextEventTimeout in nanox/client.c,
the timeout value is used to fill out a timeval
structure.
Are you running LINK_APP_INTO_SERVER? If
so, different code executes for this case.
Otherwise, looks like a kernel select/timeval issue.
Regards,
Greg