diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-03-14 17:11:27 +0800 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-03-20 02:45:04 +0800 |
commit | 7eaba5831d5e339ee0ed114ff7478d50f1c255b4 (patch) | |
tree | d824607ecbcd6e2d49a1d948067601c4ba57d167 /lib/ephy-object-helpers.h | |
parent | 10f300b27a14c450c9a20b12c23f4e542942655c (diff) | |
download | gsoc2013-epiphany-7eaba5831d5e339ee0ed114ff7478d50f1c255b4.tar gsoc2013-epiphany-7eaba5831d5e339ee0ed114ff7478d50f1c255b4.tar.gz gsoc2013-epiphany-7eaba5831d5e339ee0ed114ff7478d50f1c255b4.tar.bz2 gsoc2013-epiphany-7eaba5831d5e339ee0ed114ff7478d50f1c255b4.tar.lz gsoc2013-epiphany-7eaba5831d5e339ee0ed114ff7478d50f1c255b4.tar.xz gsoc2013-epiphany-7eaba5831d5e339ee0ed114ff7478d50f1c255b4.tar.zst gsoc2013-epiphany-7eaba5831d5e339ee0ed114ff7478d50f1c255b4.zip |
ephy-profile-migrator: Stop spinning when porting form passwords
Use atomic operations to manipulate the counter that tracks the number
of operations we need to achieve, to ensure coherency when the results
are received from different threads.
Also use our own main loop rather than spinning on g_main_context_iteration()
to avoid CPU burning when waiting for completion.
Finally, fix the migrator never returning as the number of operations
was not decreased on the ephy_form_auth_data_store() error path.
https://bugzilla.gnome.org/show_bug.cgi?id=695828
Diffstat (limited to 'lib/ephy-object-helpers.h')
0 files changed, 0 insertions, 0 deletions