• Marcus Brinkmann's avatar
    Implement watches for GIOChannels for write file descriptors on Win32 · 6f0ef1ba
    Marcus Brinkmann authored
    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.
    6f0ef1ba
Name
Last commit
Last update
debian Loading commit data...
docs Loading commit data...
glib Loading commit data...
gmodule Loading commit data...
gobject Loading commit data...
gthread Loading commit data...
m4macros Loading commit data...
po Loading commit data...
tests Loading commit data...
.cvsignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog.pre-1-2 Loading commit data...
ChangeLog.pre-2-0 Loading commit data...
ChangeLog.pre-2-10 Loading commit data...
ChangeLog.pre-2-12 Loading commit data...
ChangeLog.pre-2-2 Loading commit data...
ChangeLog.pre-2-4 Loading commit data...
ChangeLog.pre-2-6 Loading commit data...
ChangeLog.pre-2-8 Loading commit data...
HACKING Loading commit data...
INSTALL Loading commit data...
INSTALL.in Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
NEWS.pre-1-3 Loading commit data...
README Loading commit data...
README.in Loading commit data...
README.win32 Loading commit data...
TODO.xml Loading commit data...
acglib.m4 Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
config.h.win32.in Loading commit data...
configure.in Loading commit data...
glib-2.0-uninstalled.pc.in Loading commit data...
glib-2.0.pc.in Loading commit data...
glib-gettextize.in Loading commit data...
glib-zip.in Loading commit data...
glib.spec.in Loading commit data...
glibconfig.h.win32.in Loading commit data...
gmodule-2.0-uninstalled.pc.in Loading commit data...
gmodule-2.0.pc.in Loading commit data...
gmodule-export-2.0.pc.in Loading commit data...
gmodule-no-export-2.0-uninstalled.pc.in Loading commit data...
gmodule-no-export-2.0.pc.in Loading commit data...
gobject-2.0-uninstalled.pc.in Loading commit data...
gobject-2.0.pc.in Loading commit data...
gthread-2.0-uninstalled.pc.in Loading commit data...
gthread-2.0.pc.in Loading commit data...
makefile.mingw Loading commit data...
makefile.msc Loading commit data...
msvc_recommended_pragmas.h Loading commit data...
sanity_check Loading commit data...
win32-fixup.pl Loading commit data...