Re: glib2 non-static recursive and rw locks?
- From: Havoc Pennington <hp redhat com>
- To: Alex Graveley <alex ximian com>
- Cc: gtk-list gnome org, Sebastian Wilhelmi <wilhelmi ira uka de>
- Subject: Re: glib2 non-static recursive and rw locks?
- Date: 06 Jan 2002 18:18:38 -0500
Alex Graveley <alex ximian com> writes:
>
> Why are non-static recursive and read-write locks missing from Glib2?!
>
I always wondered why we have static vs. dynamic, since you can
use any static mutex dynamically as well.
mutex = g_new (GStaticRecMutex, 1);
g_static_mutex_init (mutex);
So it would have made more sense to me to just call it GRecMutex and
had g_rec_mutex_new() as a convenience function that did the above.
Anyway, too late until 2.2.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]