commit | 6e60011984cf068229fc1e84e57e9167c1cb2242 | [log] [tgz] |
---|---|---|
author | Colin Walters <walters@verbum.org> | Thu Jun 21 11:10:00 2012 -0400 |
committer | Colin Walters <walters@verbum.org> | Thu Jun 21 11:10:00 2012 -0400 |
tree | f84c2fa9564c16f1d25fb502e4cebd485fb4ccb2 | |
parent | f9089536db1f1d54053100e181c14145563cb292 [diff] |
GIOScheduler: Use a GList, not GSList for jobs 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.