diff options
author | Peter Williams <peterw@ximian.com> | 2001-01-16 05:35:40 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2001-01-16 05:35:40 +0800 |
commit | 98814270d119de51b9d871afbeb01b6191008c22 (patch) | |
tree | 2d5e4da24bd63378ee3a8d67420b3162a7a92552 /camel/providers | |
parent | 359bc474c015e2d54001204c4015f3216d408591 (diff) | |
download | gsoc2013-evolution-98814270d119de51b9d871afbeb01b6191008c22.tar gsoc2013-evolution-98814270d119de51b9d871afbeb01b6191008c22.tar.gz gsoc2013-evolution-98814270d119de51b9d871afbeb01b6191008c22.tar.bz2 gsoc2013-evolution-98814270d119de51b9d871afbeb01b6191008c22.tar.lz gsoc2013-evolution-98814270d119de51b9d871afbeb01b6191008c22.tar.xz gsoc2013-evolution-98814270d119de51b9d871afbeb01b6191008c22.tar.zst gsoc2013-evolution-98814270d119de51b9d871afbeb01b6191008c22.zip |
Lock around the imap_rescan, which needs it.
2001-01-15 Peter Williams <peterw@ximian.com>
* providers/imap/camel-imap-folder.c (camel_imap_folder_new): Lock around the
imap_rescan, which needs it.
svn path=/trunk/; revision=7513
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index 3d8efbf34b..373ded8bde 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -198,7 +198,9 @@ camel_imap_folder_new (CamelStore *parent, const char *folder_name, return NULL; } + CAMEL_IMAP_STORE_LOCK(imap_store, command_lock); imap_rescan (folder, exists, ex); + CAMEL_IMAP_STORE_UNLOCK(imap_store, command_lock); if (camel_exception_is_set (ex)) { camel_object_unref (CAMEL_OBJECT (folder)); return NULL; |