Include gerror.h before it is used for some g_thread_* functions.
[platform/upstream/glib.git] / gthread / ChangeLog
1 2000-09-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
2
3         * gthread-posix.c (g_thread_create_posix_impl): Use GError to
4         report errors.
5
6 2000-05-13  Tor Lillqvist  <tml@iki.fi>
7
8         * makefile.mingw.in: New file, with gthread stuff moved from
9         ../makefile.mingw.in.
10
11         * Makefile.am: Add to EXTRA_DIST, add rule to build makefile.mingw.
12
13 2000-04-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
14
15         * gthread-solaris.c (g_mutex_new_solaris_impl): Changed the scope
16         of the initialized mutex to USYNC_THREAD. Thanks to Soeren
17         Sandmann <sandmann@daimi.au.dk> for pointing that out.
18
19 2000-03-20  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
20
21         * gthread-posix.c (posix_check_for_error): Forgot a '}' in a macro
22         for DCE-threads. Thanks to Karl Nelson <kenelson@ece.ucdavis.edu>
23         for pointing that out.
24
25 2000-03-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
26
27         * gthread-posix.c: Don't use priorities for threads, when the
28         minimal/maximal priorities couldn't be determined at configure
29         time.
30
31         * gthread-posix.c: Don't check for errors, when setting the scope
32         of a tread to system, as some posix implementations can't do that
33         and we don't want the thing to fail because of that.
34
35 2000-02-22  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
36
37         * gthread-posix.c, gthread-solaris.c: check for sysconf
38         (_SC_THREAD_STACK_MIN), which returns the minimal stack size for
39         new threads. Patch from Soeren Sandmann <sandmann@daimi.au.dk>.
40
41 1999-11-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
42
43         * gthread-posix.c, gthread-solaris.c: Changed the prototype of
44         thread_create and thread_self to return the system thread into
45         provided memory instead of a return value. This is necessary, as
46         HPUX has a pthread_t, that is bigger than the biggest integral
47         type there. Made some more functions static.
48
49         * gthread-posix.c: Small fixes for DCE threads: Detaching has to
50         be done after thread creation for DCE.
51
52 1999-06-21  Tor Lillqvist  <tml@iki.fi>
53
54         * gthread-posix.c: Guard pthread_attr_setscope call with test
55         for _POSIX_THREAD_PRIORITY_SCHEDULING, which should be defined
56         in a <pthread.h> that supports that feature.
57         
58 1999-06-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
59
60         * gthread-posix.c, gthread-solaris.c: Added the native
61         implementations for the GLib's extended thread support.
62
63         * gthread-nspr.c: Removed for good. NSPR is nothing we would want
64         to build upon.
65
66         * gthread.c: Renamed to gthread-impl.c to avoid confusion with
67         ../gthread.c (Formerly known as the file called gmutex.c)
68
69         * testgthread.c: Removed. The new and much extended tests are in
70         ../tests/thread-test.c.
71
72         * Makefile.am: Changed to reflect the changes above.
73
74 1999-03-31  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
75
76         * gthread-posix.c: Use the right default arguments for the
77         construction of mutexes and conds for dce threads, these are
78         &pthread_(cond|mutex)attr_default instead of NULL. Hint from
79         D. Emilio Grimaldo Tunon <emilio_tunon@nl.compuware.com>.
80
81 1999-03-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
82
83         * Makefile.am (INCLUDES): Added @GTHREAD_COMPILE_IMPL_DEFINES@.
84
85 1999-03-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
86
87         * gthread-posix.c (g_private_get_posix_impl): Fixed typo for DCE
88         implementation.
89
90 1999-03-11  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
91
92         * gthread-posix.c: Now handle both dce and posix threads. They are
93         sufficently equal. Please do not commit my change to
94         glib-1-2/gthread/gthread-posix.c from 1999-03-03, as the current
95         change will take care of that too.
96
97 1999-03-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
98
99         * gthread-posix.c: Fixed broken mutex_trylock and slightly broken
100         cond_timed_wait functions.
101
102 1999-02-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
103
104         * testgthread.c (test_mutexes): Use new signature of
105         g_static_mutex* functions.
106
107 1999-02-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
108
109         * gthread-posix.c (g_private_get_posix_impl): Use the
110         HAVE_PTHREAD_GETSPECIFIC_POSIX macro to determine, which signature
111         to use for pthread_getspecific.
112
113 Tue Jan 19 20:56:02 1999  Tor Lillqvist  <tml@iki.fi>
114
115         * Makefile.am (EXTRA_DIST): Added gthread.def.
116
117 Sun Jan 17 10:58:19 1999  Tor Lillqvist  <tml@iki.fi>
118
119         * gthread.def: New file.
120
121 1999-01-16 1999  Tor Lillqvist  <tml@iki.fi>
122
123         * gthread-posix.c: Conditionalize <sys/time.h> inclusion.
124
125 1999-01-07  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
126
127         * testgthread.c: conditionally compile according to the
128         G_THREADS_IMPL_??? macros.
129         (test_private_func): use rand_r instead of rand to make it
130         thread safe.
131
132 1998-12-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
133
134         * testgthread.c (new_thread): As a joinable thread seems to be the
135         default on posix, leave the explicit setting out, as it causes
136         problems on some older platforms.
137
138 Wed Dec 16 22:21:33 CST 1998 Shawn T. Amundson <amundson@gtk.org>
139
140         * gthread-posix.c: use g_free in mutex_free (from Tim Janik)
141
142 Thu Dec 17 03:38:57 1998  Tim Janik  <timj@gtk.org>
143
144         * Makefile.am: -DG_LOG_DOMAIN="GThread", we don't need an extern
145         variable for that (noticed by Joel Becker <jlbec@ocala.cs.miami.edu>)
146
147 Wed Dec 16 03:16:16 1998  Tim Janik  <timj@gtk.org>
148
149         * testgthread.c: s/g_thread_supported/g_thread_supported ()/
150         * gthread.c: s/g_thread_supported/g_threads_got_initialized/
151         (g_thread_init): bail out if G_THREADS_ENABLED is not defined.
152
153 1998-12-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
154
155         * Makefile.am (EXTRA_DIST): updated.
156
157         * testgthread.c, gthread-*.c: Changed private to private_key to
158         avoid problems when compiling with under C++.
159
160         * gthread-none.c: 
161         s/g_mutex_functions_for_glib_use/g_thread_functions_for_glib_use/
162
163         * ChangeLog: from now on there is an extra ChangeLog for gthread
164         
165