schedule_write_in_worker_thread: require caller to lock; rename accordingly
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 21 Nov 2011 17:16:16 +0000 (17:16 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 21 Nov 2011 17:42:58 +0000 (17:42 +0000)
commit301332168b096e8c64e26932e2a02bd24fafdbab
tree09c26f2ed4eb3eec2bd28f050701b272a2aa18b2
parent56eb16ff50cee51117db2e4979f5632a8df19e40
schedule_write_in_worker_thread: require caller to lock; rename accordingly

When we use this function to schedule a flush, it'll be called
with the lock held. Releasing and immediately re-taking the lock would
be pointless.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662395
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
gio/gdbusprivate.c