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