Hi,
I am writing a server application (using glib) in which I want to be 
able to (frequently) turn polling on and off for given sockets.

I am currently using g_io_add_watch to add a watch on a socket and 
g_source_remove to remove the watch. This seems like an expensive way of 
doing what I want. What is the recommended way of doing this?

Peter Robinson


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to