Changeset 2469

Show
Ignore:
Timestamp:
07/13/07 00:21:34
Author:
pvanhoof
Message:

Simultaneously retrieving messages while summary is being fetched for pop

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r2467 r2469  
     12007-07-13  Philip Van Hoof  <pvanhoof@gnome.org> 
     2 
     3        * Allowing the POP code to do RETRs while the TOPs are working (while 
     4        summary is being retrieved, allow the POP code to receive messages 
     5        already) 
     6 
    172007-07-12  Sergio Villar Senin  <svillar@igalia.com> 
    28 
  • trunk/libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-folder.c

    r2466 r2469  
    761761        CamelMessageInfoBase *mi; gboolean im_certain=FALSE; 
    762762 
    763         g_static_rec_mutex_lock (pop3_store->eng_lock); 
    764  
    765763        stream = camel_data_cache_get(pop3_store->cache, "cache", uid, NULL); 
    766764        if (stream) 
     
    781779                camel_object_unref (CAMEL_OBJECT (stream)); 
    782780 
    783                 g_static_rec_mutex_unlock (pop3_store->eng_lock); 
    784  
    785781                return message; 
    786782        } 
     
    794790                camel_exception_setv (ex, CAMEL_EXCEPTION_FOLDER_INVALID_UID, 
    795791                                      _("No message with UID %s"), uid); 
    796  
    797                 g_static_rec_mutex_unlock (pop3_store->eng_lock); 
    798  
    799792                return NULL; 
    800793        } 
     
    939932        camel_operation_end(NULL); 
    940933 
    941         g_static_rec_mutex_unlock (pop3_store->eng_lock); 
    942  
    943934        return message; 
    944935} 
     
    983974 
    984975        if (fi->cmd != NULL) { 
     976 
    985977                while ((i = camel_pop3_engine_iterate(pop3_store->engine, fi->cmd)) > 0) 
    986978                        ;