Moved func and arg members from GRealThread to GThread, such that they can
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Tue, 8 May 2001 08:23:18 +0000 (08:23 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Tue, 8 May 2001 08:23:18 +0000 (08:23 +0000)
commitcd00d6e2cc2b8ce90a44e838750faeacb6f779fc
treeb1c0f3f91de278db1484928ab5cd879f5049646a
parent4d7747a58e5f5fa8f494b2b78d6f2047022375f1
Moved func and arg members from GRealThread to GThread, such that they can

2001-05-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* gmain.c, gthread.c, gthread.h: Moved func and arg members from
GRealThread to GThread, such that they can be accessed by the
user.

* gthread.c, gthread.h: Due to popular demand (Tim being the
populus here ;-) threads now have a 'return value', which is
returned by g_thread_join and is either the return of the topmost
thread function or the value given to g_thread_exit.

* gthreadpool.c, tests/mainloop-test.c, tests/thread-test.c:
Adapted to the above change.
18 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
glib/gmain.c
glib/gthread.c
glib/gthread.h
glib/gthreadpool.c
gmain.c
gthread.c
gthread.h
gthreadpool.c
tests/mainloop-test.c
tests/thread-test.c