Support g_main_context_push_thread_default() in gio
authorDan Winship <danw@gnome.org>
Wed, 17 Jun 2009 00:22:58 +0000 (20:22 -0400)
committerDan Winship <danw@gnome.org>
Wed, 1 Jul 2009 13:02:46 +0000 (09:02 -0400)
commit65cc5d895ae125b09f2403761f434fd78ef05af7
tree6ba66728339a38d04d4703badf9fe2361a10b1af
parent4363f1932f1be4474a81d5b9cf8a58c91b682868
Support g_main_context_push_thread_default() in gio

GFile allows for the possibility that external implementations may not
support thread-default contexts yet, via
g_file_supports_thread_contexts(). GVolumeMonitor is not yet
thread-default-context aware.

Add a test program to verify that basic gio async ops work correctly
in non-default contexts.

http://bugzilla.gnome.org/show_bug.cgi?id=579984
23 files changed:
gio/gdummyfile.c
gio/gfile.c
gio/gfile.h
gio/gfilemonitor.c
gio/gio.symbols
gio/gioscheduler.c
gio/glocalfile.c
gio/gsimpleasyncresult.c
gio/gsocketclient.c
gio/gsocketinputstream.c
gio/gsocketlistener.c
gio/gsocketoutputstream.c
gio/gtcpconnection.c
gio/gunixinputstream.c
gio/gunixmount.c
gio/gunixoutputstream.c
gio/gunixresolver.c
gio/gunixvolume.c
gio/gvolumemonitor.c
gio/gwin32resolver.c
gio/tests/.gitignore
gio/tests/Makefile.am
gio/tests/contexts.c [new file with mode: 0644]