diff options
author | Colin Walters <walters@verbum.org> | 2012-06-21 11:10:00 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2012-06-21 11:10:00 -0400 |
commit | 6e60011984cf068229fc1e84e57e9167c1cb2242 (patch) | |
tree | f84c2fa9564c16f1d25fb502e4cebd485fb4ccb2 /gio/gdbusmethodinvocation.h | |
parent | f9089536db1f1d54053100e181c14145563cb292 (diff) | |
download | glib-wip/async-io-perf.tar.gz |
GIOScheduler: Use a GList, not GSList for jobswip/async-io-perf
In general, code using g_slist_delete_link() is broken, because it
potentially requires an O(n) traversal. Just switch to GList in this
case.
The performance hit here was exacerbated by the fact that we were
holding a mutex that needed to be accessed by all threads.
Diffstat (limited to 'gio/gdbusmethodinvocation.h')
0 files changed, 0 insertions, 0 deletions