nanogui: GRMainLoop prob
Subject:
Re: [nanogui] GRMainLoop prob
From:
"Greg Haerr" ####@####.####
Date:
15 Jan 2003 06:09:41 -0000
Message-Id: <190701c2bc5b$a6b60df0$6401a8c0@gregnewport>
> I have a process which controls some machinery but it never returns.
> Simultaneously it has to disply some messages on the LCD and take some
> input from the user. But as it never returns and as GrMainLoop is also
> never returning, how do i achieve this?
Somebody sometime will have to perform a select(), like that
which is done in nanox/client.c::GsSelect(). In order to prepare
the file descriptors, GrPrepareSelect() is called, and then the
event when found is handled with GrHandleEvent(). I think
these are documented.
Regards,
Greg