summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-2-10
diff options
context:
space:
mode:
authorMarcus Brinkmann <mb@g10code.de>2006-03-11 21:03:00 +0000
committerTor Lillqvist <tml@src.gnome.org>2006-03-11 21:03:00 +0000
commit6f0ef1bae28b806a511a81bcd92029b5c8b5522f (patch)
treee036b977f0af538db364fd40a3b5d6ae8743400b /ChangeLog.pre-2-10
parent4c27a10ad3dc258bb5f0d75f9e70f910de03785c (diff)
Implement watches for GIOChannels for write file descriptors on Win32
2006-03-02 Marcus Brinkmann <mb@g10code.de> Implement watches for GIOChannels for write file descriptors on Win32 (#333098). * glib/giowin32.c (GIOWin32Channel): Add a new direction field. (read_thread): Initialize direction. (write_thread): New function. (buffer_write): New function. (g_io_win32_prepare): Handle the G_IO_WIN32_FILE_DESC case for the write direction. (g_io_win32_fd_write): Call buffer_write() if there is a writer thread. (g_io_win32_fd_close): Set space_avail_event for writer threads. (g_io_win32_fd_create_watch): Create the writer thread if condition is G_IO_OUT. (g_io_channel_win32_make_pollfd): Likewise here.
Diffstat (limited to 'ChangeLog.pre-2-10')
-rw-r--r--ChangeLog.pre-2-1018
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index f0c1ea300..b8bdfc306 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,21 @@
+2006-03-02 Marcus Brinkmann <mb@g10code.de>
+
+ Implement watches for GIOChannels for write file descriptors on
+ Win32 (#333098).
+
+ * glib/giowin32.c (GIOWin32Channel): Add a new direction field.
+ (read_thread): Initialize direction.
+ (write_thread): New function.
+ (buffer_write): New function.
+ (g_io_win32_prepare): Handle the G_IO_WIN32_FILE_DESC case for the
+ write direction.
+ (g_io_win32_fd_write): Call buffer_write() if there is a writer
+ thread.
+ (g_io_win32_fd_close): Set space_avail_event for writer threads.
+ (g_io_win32_fd_create_watch): Create the writer thread if
+ condition is G_IO_OUT.
+ (g_io_channel_win32_make_pollfd): Likewise here.
+
2006-03-09 Matthias Clasen <mclasen@redhat.com>
* Makefile.am: Add ChangeLog.pre-2.8 to EXTRA_DIST.