Bug 568575 - _async functions for GDataInputStream
_async functions for GDataInputStream
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Allison Lortie (desrt) (extended vacation)
gtkdev
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2009-01-21 16:50 UTC by Allison Lortie (desrt) (extended vacation)
Modified: 2009-01-28 16:40 UTC (History)
0 users

See Also:
GNOME target: ---
GNOME version: ---


Attachments
the patch (23.80 KB, patch)
2009-01-26 16:31 UTC, Allison Lortie (desrt) (extended vacation)
committed Details | Diff | Review

Description Allison Lortie (desrt) (extended vacation) 2009-01-21 16:50:56 UTC
_async calls are conspicuously absent from the API of GDataInputStream.

We should have them at least for read_line and read_until; the other cases can easily be handled by the programmer using fill_async with a constant size.
Comment 1 Allison Lortie (desrt) (extended vacation) 2009-01-26 16:31:18 UTC
Created attachment 127269 [details] [review]
the patch

 gdatainputstream.c    |  250 ++++++++++++++++++++++++++++++++++++++++++
 gdatainputstream.h    |   95 +++++++++-------
 gio.symbols           |    2 
 tests/Makefile.am     |    4 
 tests/sleepy-stream.c |  294 ++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 606 insertions(+), 39 deletions(-)
Comment 2 Allison Lortie (desrt) (extended vacation) 2009-01-28 16:40:23 UTC
Committed revision 7835.

Note You need to log in before you can comment on or make changes to this bug.