+2002-02-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/gthread.c (g_thread_create_full): Delay allocation until
+ after all g_return_val_if_fail ().
+
+ * glib/gthread.h: Make depth member guint for cosmetic reasons.
+
+ * glib/gthread.c: (g_static_rec_mutex_unlock_full): depth should
+ be unsigned. All that spotted by Jörgen Viksell
+ <jorgen.viksell@telia.com>
+
2002-02-02 Manish Singh <yosh@gimp.org>
* glib/gmain.c
+2002-02-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/gthread.c (g_thread_create_full): Delay allocation until
+ after all g_return_val_if_fail ().
+
+ * glib/gthread.h: Make depth member guint for cosmetic reasons.
+
+ * glib/gthread.c: (g_static_rec_mutex_unlock_full): depth should
+ be unsigned. All that spotted by Jörgen Viksell
+ <jorgen.viksell@telia.com>
+
2002-02-02 Manish Singh <yosh@gimp.org>
* glib/gmain.c
+2002-02-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/gthread.c (g_thread_create_full): Delay allocation until
+ after all g_return_val_if_fail ().
+
+ * glib/gthread.h: Make depth member guint for cosmetic reasons.
+
+ * glib/gthread.c: (g_static_rec_mutex_unlock_full): depth should
+ be unsigned. All that spotted by Jörgen Viksell
+ <jorgen.viksell@telia.com>
+
2002-02-02 Manish Singh <yosh@gimp.org>
* glib/gmain.c
+2002-02-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/gthread.c (g_thread_create_full): Delay allocation until
+ after all g_return_val_if_fail ().
+
+ * glib/gthread.h: Make depth member guint for cosmetic reasons.
+
+ * glib/gthread.c: (g_static_rec_mutex_unlock_full): depth should
+ be unsigned. All that spotted by Jörgen Viksell
+ <jorgen.viksell@telia.com>
+
2002-02-02 Manish Singh <yosh@gimp.org>
* glib/gmain.c
+2002-02-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/gthread.c (g_thread_create_full): Delay allocation until
+ after all g_return_val_if_fail ().
+
+ * glib/gthread.h: Make depth member guint for cosmetic reasons.
+
+ * glib/gthread.c: (g_static_rec_mutex_unlock_full): depth should
+ be unsigned. All that spotted by Jörgen Viksell
+ <jorgen.viksell@telia.com>
+
2002-02-02 Manish Singh <yosh@gimp.org>
* glib/gmain.c
+2002-02-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/gthread.c (g_thread_create_full): Delay allocation until
+ after all g_return_val_if_fail ().
+
+ * glib/gthread.h: Make depth member guint for cosmetic reasons.
+
+ * glib/gthread.c: (g_static_rec_mutex_unlock_full): depth should
+ be unsigned. All that spotted by Jörgen Viksell
+ <jorgen.viksell@telia.com>
+
2002-02-02 Manish Singh <yosh@gimp.org>
* glib/gmain.c
+2002-02-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/gthread.c (g_thread_create_full): Delay allocation until
+ after all g_return_val_if_fail ().
+
+ * glib/gthread.h: Make depth member guint for cosmetic reasons.
+
+ * glib/gthread.c: (g_static_rec_mutex_unlock_full): depth should
+ be unsigned. All that spotted by Jörgen Viksell
+ <jorgen.viksell@telia.com>
+
2002-02-02 Manish Singh <yosh@gimp.org>
* glib/gmain.c
+2002-02-04 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/gthread.c (g_thread_create_full): Delay allocation until
+ after all g_return_val_if_fail ().
+
+ * glib/gthread.h: Make depth member guint for cosmetic reasons.
+
+ * glib/gthread.c: (g_static_rec_mutex_unlock_full): depth should
+ be unsigned. All that spotted by Jörgen Viksell
+ <jorgen.viksell@telia.com>
+
2002-02-02 Manish Singh <yosh@gimp.org>
* glib/gmain.c
guint
g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex)
{
- gint depth;
+ guint depth;
g_return_val_if_fail (mutex, 0);
GThreadPriority priority,
GError **error)
{
- GRealThread* result = g_new (GRealThread, 1);
+ GRealThread* result;
GError *local_error = NULL;
g_return_val_if_fail (func, NULL);
g_return_val_if_fail (priority >= G_THREAD_PRIORITY_LOW, NULL);
g_return_val_if_fail (priority <= G_THREAD_PRIORITY_URGENT, NULL);
+ result = g_new (GRealThread, 1);
+
result->thread.joinable = joinable;
result->thread.priority = priority;
result->thread.func = func;
struct _GStaticRecMutex
{
GStaticMutex mutex;
- unsigned int depth;
+ guint depth;
GSystemThread owner;
};