summaryrefslogtreecommitdiff
path: root/json-glib/json-parser.h
diff options
context:
space:
mode:
authorMohammed Sadiq <sadiq@sadiqpk.org>2022-09-16 19:23:18 +0530
committerMohammed Sadiq <sadiq@sadiqpk.org>2022-09-16 19:23:18 +0530
commitcfbbdfbafc39c69a54ab830faa89a2b4c26e7561 (patch)
treee637b7f6ee10d0819e5b5c86bd139b05dafc3ad9 /json-glib/json-parser.h
parentac12297654adf8195b49d20e4c662a01f2b96e5a (diff)
downloadjson-glib-wip/sadiq/parser-read-async.tar.gz
parser: Don't use thread to read async from streamwip/sadiq/parser-read-async
Some GInputStream may not support reading from a different thread (eg: libsoup3[0]). So instead of reading the stream in the task thread, use the async read API of GInputStream. Since read_async is optional (as GLib handles it if not implemented) This shouldn't be an issue for users. [0] https://libsoup.org/libsoup-3.0/client-thread-safety.html
Diffstat (limited to 'json-glib/json-parser.h')
0 files changed, 0 insertions, 0 deletions