mike at navi.cx
Wed Feb 16 09:53:59 PST 2005
On Sun, 13 Feb 2005 15:31:22 -0500, Havoc Pennington wrote:
> - to acquire/release either of the two sub-locks you must have the big
> connection lock, but you can hold these sub-locks while dropping the big lock (that's
> the point of them)
> I don't have much experience with this sort of thing though.
Win32 (and therefore Wine) uses a concept called "syslevels" which are
basically locks which enforce ordering. They trigger an assertion failure
if you try and take the locks in the wrong order, you might want to
consider a similar abstraction here to avoid silly mistakes in future if
you don't already have one.
More information about the dbus