RE: glib giowin32 UDP sockets
- From: Andrewlanoix aol com
- To: pzel dodo com au
- Cc: gtk-devel-list gnome org
- Subject: RE: glib giowin32 UDP sockets
- Date: Wed, 19 Nov 2003 20:56:02 -0500
Peter,
"add-cancel-add" does refer to g_io_add_watch-g_source_remove-g_io_add_watch. Under certain scenarios this failed due to a thread synchronization problem. Each socket iochannel on windows is handled by a thread that spends most of its time in select(). In this merge I have added code to break the thread out of select via the UDP sockets that you are seeing. Also I discovered issues in the socket error handling code that was cleaned up as well.
You can browse the GNet’s gnet-dev mailing list for more of the background in the April-May 2003 timeframe.[www.gnetlibrary.org]
Andrew Lanoix
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]