Mike Ruprecht 4e9e7d0cba GOutputStream: Use async read/write of streams in splice_async()
There are some corner cases where using the sync version of read/write
in a thread could cause thread-safety issues. In these cases it's
possible to override the output stream's splice_async() function,
but for input streams one would need to do some acrobatics to
stay thread-safe. Alternatively, some implementations may not even
override their sync read/write functions.

This patch refactors the default splice_async() implementation to
call the sync read and write functions in a thread only when both
async versions are thread-based. When one or both are non-threaded,
it calls the virtual write_async() and read_async() functions of the
involved streams within the same thread.

https://bugzilla.gnome.org/show_bug.cgi?id=691581
2013-09-29 17:48:41 -04:00
..
2013-07-28 18:44:41 -04:00
2012-12-12 15:20:22 +01:00
2012-02-02 16:22:42 +01:00
2013-06-30 10:32:18 +02:00
2013-02-15 05:39:20 -05:00
2013-04-21 16:25:15 -04:00
2012-07-03 21:14:41 -04:00
2013-05-25 23:15:36 -04:00
2013-06-23 14:15:05 +02:00
2013-04-21 16:31:14 -04:00
2013-02-04 22:35:29 -05:00
2012-11-28 00:58:03 -05:00
2013-04-21 16:31:14 -04:00
2013-07-11 12:35:45 -04:00
2012-11-29 16:29:47 -03:00
2012-12-12 15:20:22 +01:00
2012-08-19 02:21:02 -04:00
2012-08-19 02:21:02 -04:00
2013-07-11 12:35:45 -04:00
2013-07-11 12:35:45 -04:00
2012-01-13 17:12:57 +01:00
2012-12-29 00:22:34 -05:00
2011-08-29 14:49:32 -04:00
2011-10-16 21:41:15 -04:00
2013-06-30 10:32:18 +02:00
2013-03-26 10:51:48 +01:00
2011-10-02 22:33:10 -04:00
2013-04-21 16:31:14 -04:00
2012-07-03 21:14:41 -04:00
2012-11-15 14:19:06 -05:00
2012-08-18 23:15:58 -04:00