[patch] Change assert to a detailed warning and abort
John (J5) Palmieri
johnp at redhat.com
Wed Aug 9 11:52:13 PDT 2006
Now that Gnome-VFS has started to use D-Bus and is heavily threaded
people have been running into the allocator->lock == mutex assert a lot.
This is due to them not initializing threads early in the game usually
as a side effect of loading Gnome-VFS through a plugin.
This patch changes the assert to be a more detailed warning and an abort
since it is a user error an not the fault of the library itself. Is
this the right way to handle this or is there a better way? Also read
over the verbiage to make sure it is clear. Thanks.
--
John (J5) Palmieri <johnp at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: threading-warning.patch
Type: text/x-patch
Size: 899 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060809/4fae9692/threading-warning.bin
More information about the dbus
mailing list