On 2 April 2015 at 01:17, Brian Manning <c...@xaoc.org> wrote:
> Maybe select/IO::Select on your file descriptors then, to see if you
> get the same behavior?

Thanks for the tip, but my reading of select/IO::Select is that they
always block, whereas the nice thing about Glib::IO->add_watch() is
that it sets up a callback.

To use a blocking watch in a GUI, I would have to put it in a thread,
and presumably the only way of then killing the blocking watch would
be to kill the thread.

Is no one using Glib::IO->add_watch() on a Mac?

Regards

Jeff
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to