diff options
author | 2 <NotZed@Ximian.com> | 2001-10-03 04:33:11 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-10-03 04:33:11 +0800 |
commit | 6df609098d6a772366ca4f30ab9c5647b4669728 (patch) | |
tree | f86d7eb6137ccbee8637d2114adbb516acbf81ea /importers | |
parent | ba14e3cb74ca760cccba21b6e6829f978f81a17b (diff) | |
download | gsoc2013-evolution-6df609098d6a772366ca4f30ab9c5647b4669728.tar gsoc2013-evolution-6df609098d6a772366ca4f30ab9c5647b4669728.tar.gz gsoc2013-evolution-6df609098d6a772366ca4f30ab9c5647b4669728.tar.bz2 gsoc2013-evolution-6df609098d6a772366ca4f30ab9c5647b4669728.tar.lz gsoc2013-evolution-6df609098d6a772366ca4f30ab9c5647b4669728.tar.xz gsoc2013-evolution-6df609098d6a772366ca4f30ab9c5647b4669728.tar.zst gsoc2013-evolution-6df609098d6a772366ca4f30ab9c5647b4669728.zip |
Change the lock to a recursive e-mutex. (camel_object_hook_event):
2001-10-02 <NotZed@Ximian.com>
* 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
Diffstat (limited to 'importers')
0 files changed, 0 insertions, 0 deletions