mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 02:06:18 +01:00
Don't lock if depth is zero. (#310148, Wim Taymans)
2005-07-12 Matthias Clasen <mclasen@redhat.com> * glib/gthread.c (g_static_rec_mutex_lock_full): Don't lock if depth is zero. (#310148, Wim Taymans)
This commit is contained in:
parent
91c0bbaba5
commit
392980c783
@ -1,3 +1,8 @@
|
||||
2005-07-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gthread.c (g_static_rec_mutex_lock_full): Don't lock
|
||||
if depth is zero. (#310148, Wim Taymans)
|
||||
|
||||
2005-07-10 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gutils.c (g_listenv): Ignore anomalous environment
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-07-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gthread.c (g_static_rec_mutex_lock_full): Don't lock
|
||||
if depth is zero. (#310148, Wim Taymans)
|
||||
|
||||
2005-07-10 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gutils.c (g_listenv): Ignore anomalous environment
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-07-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gthread.c (g_static_rec_mutex_lock_full): Don't lock
|
||||
if depth is zero. (#310148, Wim Taymans)
|
||||
|
||||
2005-07-10 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gutils.c (g_listenv): Ignore anomalous environment
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-07-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gthread.c (g_static_rec_mutex_lock_full): Don't lock
|
||||
if depth is zero. (#310148, Wim Taymans)
|
||||
|
||||
2005-07-10 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gutils.c (g_listenv): Ignore anomalous environment
|
||||
|
@ -335,6 +335,9 @@ g_static_rec_mutex_lock_full (GStaticRecMutex *mutex,
|
||||
if (!g_thread_supported ())
|
||||
return;
|
||||
|
||||
if (depth == 0)
|
||||
return;
|
||||
|
||||
G_THREAD_UF (thread_self, (&self));
|
||||
|
||||
if (g_system_thread_equal (self, mutex->owner))
|
||||
|
Loading…
Reference in New Issue
Block a user