Add thread_equal function to allow for platform defined function to
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Wed, 19 Sep 2001 12:46:39 +0000 (12:46 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Wed, 19 Sep 2001 12:46:39 +0000 (12:46 +0000)
commitf8f4c3778a11dc7de6d37dc8e24e665764cd98e6
tree3dc854edab19d58defaf78c4e29e8f559aac64b9
parent5ad6ec44c6657ba67447ee80114dbcb03cf82d39
Add thread_equal function to allow for platform defined function to

2001-09-19  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* glib/gthread.h (GThreadFunctions): Add thread_equal function to
allow for platform defined function to compare two threads.

* glib/gthread.c: Use g_thread_functions_for_glib_use.thread_equal
when non-NULL instead of ==.

* gthread/gthread-posix.c: Add g_thread_equal_posix_impl and
add to the function vector g_thread_functions_for_glib_use_default.

* gthread/gthread-solaris.c, gthread/gthread-win32.c: Add NULL
as equal function, as on those two platforms you don't need an
equal function.
15 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/reference/glib/tmpl/threads.sgml
glib/gthread.c
glib/gthread.h
gthread/ChangeLog
gthread/gthread-posix.c
gthread/gthread-solaris.c
gthread/gthread-win32.c