Re: [gtkmm] Problem with Glib::signal_io
- From: Anastasios Bassoukos <abas aix meng auth gr>
- To: Find All <find_all hotmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] Problem with Glib::signal_io
- Date: Fri, 26 Mar 2004 15:32:07 +0200
On Fri, 2004-03-26 at 15:16, Find All wrote:
> I'm trying to use a caracter device that uses the parallel port for the
> comunication.
[snip]
> The driver for the device doesn't implement all the function of a caracter
> device (for example the flush option is disabled), and some other don't
> behave as a caracter device should do (for example the read function works
> diferent).
> Could this affect the behaviour of the signal_io function???
The GTK/GDK main loop uses select() or poll() to determine what file
descriptors are readable/writable. Your device driver has to implement
this in the kernel to work correctly with the main loop.
However, if it is already implemented, I'm stumped.
HTH,
Tassos
--
Beware of he who would deny you access to information, for in his
heart he dreams himself your master."
-- Commissioner Pravin Lal, Sid Meier's Alpha Centauri
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]