From 6df609098d6a772366ca4f30ab9c5647b4669728 Mon Sep 17 00:00:00 2001 From: 2 Date: Tue, 2 Oct 2001 20:33:11 +0000 Subject: Change the lock to a recursive e-mutex. (camel_object_hook_event): 2001-10-02 * camel-object.c (camel_object_get_hooks): Change the lock to a recursive e-mutex. (camel_object_hook_event): Maintain list length of hook list. (camel_object_unhook_event): " (camel_object_unhook_event): If we are in an event, just mark the pair as removed, without removing it. (camel_object_trigger_event): Before running events, copy the list, and also ignore 'removed' events. After running events, if we're all out of events, then free up any pending-removed events. (camel_object_free_hooks): Add some new assertions on the state of the hook structure. Removed the #error if threads not defined. It _should_ actually work without threads. (camel_object_free_hooks): Free mutex when done. svn path=/trunk/; revision=13347 --- camel/ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'camel/ChangeLog') diff --git a/camel/ChangeLog b/camel/ChangeLog index eb27d0fe62..c6664538be 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,20 @@ +2001-10-02 + + * camel-object.c (camel_object_get_hooks): Change the lock to a + recursive e-mutex. + (camel_object_hook_event): Maintain list length of hook list. + (camel_object_unhook_event): " + (camel_object_unhook_event): If we are in an event, just mark the + pair as removed, without removing it. + (camel_object_trigger_event): Before running events, copy the + list, and also ignore 'removed' events. After running events, if + we're all out of events, then free up any pending-removed events. + (camel_object_free_hooks): Add some new assertions on the state of + the hook structure. + Removed the #error if threads not defined. It _should_ actually + work without threads. + (camel_object_free_hooks): Free mutex when done. + 2001-10-01 Jeffrey Stedfast * providers/imap/camel-imap-store.c (delete_folder): Remove any -- cgit v1.2.3