]>
Commit | Line | Data |
---|---|---|
2b30b2e5 UD |
1 | 2003-03-10 Ulrich Drepper <drepper@redhat.com> |
2 | ||
6a4263e3 UD |
3 | * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: New file |
4 | ||
3de7c2a9 UD |
5 | * sysdeps/unix/sysv/linux/Makefile (gen-as-const-headers): Add |
6 | lowlevelbarrier.sym. | |
7 | * sysdeps/unix/sysv/linux/lowlevelbarrier.sym: New file. | |
8 | * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: | |
9 | Include lowlevelbarrier.h and don't define offsets locally. | |
6a4263e3 | 10 | * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise. |
3de7c2a9 | 11 | |
2a544d82 UD |
12 | * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h |
13 | (__lll_mutex_lock_wait): Reverse order of first two parameters. | |
14 | (__lll_mutex_timedlock_wait): Likewise. | |
15 | (lll_mutex_lock): Adjust asm for that. | |
16 | (lll_mutex_timedlock): Likewise. Mark cx, cc, r10 as clobbered. | |
17 | (lll_lock): Adjust asm for operand order change. | |
18 | * sysdeps/unix/sysv/linux/x86_64/lowlevelmutex.S: New file. | |
19 | * sysdeps/unix/sysv/linux/x86_64/libc-lowlevelmutex.S: New file. | |
20 | ||
ec06436c UD |
21 | * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_lock_wait): |
22 | Reverse order of parameters. | |
23 | (__lll_timedwait_tid): Remove regparms attribute. | |
24 | * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: New file. | |
25 | * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: New file. | |
26 | ||
3273832c UD |
27 | * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S |
28 | (__lll_timedwait_tid): Remove one unnecessary instruction. | |
29 | ||
51f32ab8 UD |
30 | * sysdeps/unix/sysv/linux/sh/lowlevelmutex.S: Define |
31 | __lll_mutex_timedlock_wait only for NOT_IN_libc. | |
32 | * sysdeps/unix/sysv/linux/sh/libc-lowlevelmutex.S: Include | |
33 | lowlevelmutex.S. | |
34 | ||
35 | * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Define | |
36 | lll_unlock_wake_cb, __lll_wait_tid, and __lll_timedwait_tid only | |
37 | for NOT_IN_libc. | |
38 | * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Include | |
39 | lowlevellock.S. | |
40 | ||
fad48d9e UD |
41 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Don't define |
42 | LOCK is already defined. Don't define __lll_mutex_timedlock_wait | |
43 | for libc.so. | |
44 | * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S: Only | |
45 | define LOCK here (if UP is not defined). The actual code is in | |
46 | lowlevelmutex.S. | |
47 | ||
9356d063 UD |
48 | * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Don't define |
49 | LOCK is already defined. Don't define lll_unlock_wake_cb and | |
50 | __lll_timedwait_tid for libc.so. | |
51 | * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Only | |
52 | define LOCK here (if UP is not defined). The actual code is in | |
53 | lowlevellock.S. | |
54 | ||
ebf0cbc5 | 55 | * sysdeps/unix/sysv/linux/i386/lowlevelsem.h: Not needed anymore. |
106f6f9d UD |
56 | * sysdeps/unix/sysv/linux/s390/lowlevelsem.h: Likewise. |
57 | * sysdeps/unix/sysv/linux/s390/sem_post.c: Include lowlevellock.h | |
58 | instead of lowlevelsem.h. | |
59 | * sysdeps/unix/sysv/linux/s390/sem_timedwait.c: Likewise. | |
60 | * sysdeps/unix/sysv/linux/s390/sem_trywait.c: Likewise. | |
61 | * sysdeps/unix/sysv/linux/s390/sem_wait.c: Likewise. | |
0be8ee21 | 62 | |
c915e5ad UD |
63 | * sysdeps/unix/sysv/linux/Makefile (gen-as-const-headers): Add |
64 | lowlevelrwlock.sym. | |
65 | * sysdeps/unix/sysv/linux/lowlevelrwlock.sym: New file. | |
66 | * sysdeps/unix/sysv/linux/i386/lowlevelrwlock.h: Removed. | |
146fa1ee | 67 | * sysdeps/unix/sysv/linux/sh/lowlevelrwlock.h: Removed. |
c915e5ad | 68 | |
4c3c2e8a UD |
69 | * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_trylock): Fix |
70 | register loading. | |
71 | * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_trylock): Undo | |
72 | last changed. D'oh. | |
73 | ||
2b30b2e5 UD |
74 | * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: New file. |
75 | ||
76 | * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Remove declaration | |
77 | of __libc_locking_needed. | |
78 | (lll_trylock): Initialize %eax to zero. | |
79 | ||
2b30b2e5 UD |
80 | * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Update |
81 | pthread_cond_t definition. | |
82 | ||
e48f9638 RM |
83 | 2003-03-10 Roland McGrath <roland@redhat.com> |
84 | ||
85 | * sysdeps/unix/sysv/linux/lowlevelcond.sym: New file. | |
86 | * sysdeps/unix/sysv/linux/Makefile (gen-as-const-headers): Add it. | |
87 | * sysdeps/unix/sysv/linux/sh/lowlevelcond.h: File removed. | |
88 | * sysdeps/unix/sysv/linux/i386/lowlevelcond.h: Likewise. | |
89 | * sysdeps/unix/sysv/linux/x86_64/lowlevelcond.h: Likewise. | |
90 | ||
91 | * allocatestack.c (allocate_stack) [!TLS_MULTIPLE_THREADS_IN_TCB]: | |
92 | Instead of setting PD->multiple_threads, set globals | |
93 | __pthread_multiple_threads and __libc_multiple_threads. | |
94 | * sysdeps/pthread/createthread.c (create_thread): Likewise. | |
95 | * sysdeps/i386/tls.h (TLS_MULTIPLE_THREADS_IN_TCB): Define it. | |
96 | * sysdeps/s390/tls.h (TLS_MULTIPLE_THREADS_IN_TCB): Likewise. | |
97 | ||
98 | * descr.h (struct pthread): Conditionalize first member on | |
99 | [!TLS_DTV_AT_TP]. Replace the `header' member with an anonymous union | |
100 | containing an anonymous tcbhead_t. Move `list' member out. | |
101 | [TLS_MULTIPLE_THREADS_IN_TCB]: Define a `multiple_threads' member. | |
102 | * allocatestack.c: Remove use of `header.data.' prefix. | |
103 | * pthread_create.c: Likewise. | |
104 | * init.c (__pthread_initialize_minimal_internal): Likewise. | |
105 | * sysdeps/pthread/createthread.c (create_thread): Likewise. | |
106 | * sysdeps/i386/tls.h (INSTALL_DTV): Add parens. | |
107 | (THREAD_SELF, THREAD_DTV, INSTALL_NEW_DTV): No `header.data.' prefix. | |
108 | * sysdeps/x86_64/tls.h: Likewise. | |
109 | * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h | |
110 | (SINGLE_THREAD_P): Likewise. | |
111 | * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h | |
112 | (SINGLE_THREAD_P): Likewise. | |
113 | * sysdeps/i386/tls.h (tcbhead_t): Remove `list' member. | |
114 | * sysdeps/s390/tls.h (tcbhead_t): Likewise. | |
115 | ||
c37cae9e UD |
116 | 2003-03-09 Ulrich Drepper <drepper@redhat.com> |
117 | ||
d38c777e RM |
118 | * sysdeps/unix/sysv/linux/x86_64/lowlevelcond.h: New file. |
119 | ||
7b44a5e0 | 120 | * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: New file. |
2b30b2e5 | 121 | * sysdeps/unix/sysv/linux/x86_64/fork.c: New file. |
7b44a5e0 | 122 | |
c2e5e085 UD |
123 | * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Fix many |
124 | leftovers from the ia32 code. | |
125 | ||
126 | * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove unneccessary | |
127 | memory load. | |
128 | (clear_once_control): Don't load %esi. | |
129 | ||
130 | * sysdeps/x86_64/tls.h: Remove all traces of segment descriptor | |
131 | handling. | |
132 | ||
133 | * sysdeps/unix/sysv/linux/x86_64/fork.c: New file. | |
134 | ||
cd4b2a55 UD |
135 | * sysdeps/unix/sysv/linux/s390/createthread.c: Moved to... |
136 | * sysdeps/unix/sysv/linux/createthread.c: ...here. | |
137 | ||
c37cae9e UD |
138 | * Makefile (tests): Add tst-cond10. |
139 | * tst-cond10.c: New file. | |
140 | ||
d130a341 UD |
141 | 2003-03-08 Ulrich Drepper <drepper@redhat.com> |
142 | ||
ccf1d573 UD |
143 | * tst-tls2.c (do_test): Add TEMP_FAILURE_RETRY around sem_wait call. |
144 | * tst-signal3.c (do_test): Likewise. | |
145 | * tst-sem5.c (do_test): Likewise. | |
146 | * tst-kill6.c (do_test): Likewise. | |
147 | * tst-tls3.c (do_test): Likewise. Include <errno.h>. | |
148 | ||
149 | * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use add/sub instead | |
150 | of inc/dec. | |
151 | * sysdeps/unix/sysv/linux/i386/lowlevelsem.h: Likewise. | |
152 | * sysdeps/unix/sysv/linux/i386/pthread_once.S: Likewise | |
153 | * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Likewise. | |
154 | * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Likewise. | |
155 | * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise. | |
156 | * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: Likewise. | |
157 | * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: | |
158 | Likewise. | |
159 | * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: | |
160 | Likewise. | |
161 | * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Likewise. | |
162 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise. | |
163 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise. | |
164 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise. | |
165 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise. | |
166 | * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Likewise. | |
167 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Likewise. | |
168 | * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise. | |
169 | ||
d130a341 UD |
170 | * allocatestack.c (allocate_stack): If mprotect() fails free the |
171 | TLS memory. | |
172 | ||
bc6389ad UD |
173 | 2003-03-07 Ulrich Drepper <drepper@redhat.com> |
174 | ||
41d4d223 UD |
175 | * sysdeps/i386/i486/bits/atomic.h: Fix a few unused definitions. |
176 | ||
177 | * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Remove all trace of | |
178 | lll_wake_tid. This was used only to work around kernel limits in | |
179 | the early days. | |
180 | * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise. | |
181 | * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Likewise. | |
182 | * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise. | |
183 | * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise. | |
184 | ||
bc6389ad UD |
185 | * init.c (__static_tls_align_m1): Renamed from __static_tls_align. |
186 | (__pthread_initialize_minimal_internal): Change initialization of | |
187 | __static_tls_align_m1 appropriately. | |
188 | * pthreadP.h (__static_tls_align_m1): Renamed from | |
189 | __static_tls_align. | |
190 | * allocatestack.c (allocate_stack): Use __static_tls_align_m1 | |
191 | instead of __static_tls_align-1. | |
192 | ||
cc775edf UD |
193 | 2003-03-04 Ulrich Drepper <drepper@redhat.com> |
194 | ||
0de28d5c | 195 | * sysdeps/unix/sysv/linux/x86_64/Makefile: New file. |
6245b6ae | 196 | |
518b5308 UD |
197 | * pthread_create.c: Define __pthread_keys using nocommon |
198 | attribute, not by placing it explicitly in bss. | |
199 | Remove DEFINE_DEALLOC definition. Not needed anymore. | |
200 | ||
201 | * allocatestack.c: Define ARCH_MAP_FLAGS if not already defined. | |
202 | Use it in mmap call to allocate stacks. | |
203 | ||
204 | * sysdeps/pthread/createthread.c (create_thread): Fix comment. | |
205 | ||
cc775edf UD |
206 | * pthread_create.c (start_thread): Use THREAD_SETMEM to store |
207 | result of the thread function. | |
208 | ||
4f6f0a8f UD |
209 | 2003-03-03 Ulrich Drepper <drepper@redhat.com> |
210 | ||
f04a2721 UD |
211 | * sysdeps/unix/sysv/linux/s390/dl-sysdep.h: Removed. The generic |
212 | version is just fine. | |
213 | ||
4f6f0a8f UD |
214 | * sysdeps/unix/sysv/linux/libc_pthread_init.c |
215 | (__pthread_child_handler): Renamed from pthread_child_handler, | |
216 | exported, and marked hidden. Change all users. | |
217 | * sysdeps/unix/sysv/linux/register-atfork.c (free_mem): Do not | |
218 | free __pthread_child_handler from child list. | |
219 | ||
7ce5c164 UD |
220 | 2003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com> |
221 | ||
222 | * atomic.h (atomic_exchange_and_add): Return newval, not oldval. | |
223 | ||
224 | * sysdeps/pthread/pthread_cond_timedwait.c (__pthread_cond_timedwait): | |
225 | Fix handling of cancellation and failing pthread_mutex_unlock call. | |
226 | * sysdeps/pthread/pthread_cond_wait.c (__condvar_cleanup): Likewise. | |
227 | (__pthread_cond_wait): Likewise. | |
228 | ||
229 | * sysdeps/pthread/pthread_rwlock_timedrdlock.c | |
230 | (pthread_rwlock_timedrdlock): Fix clobber of result variable by | |
231 | lll_futex_timed_wait call. | |
232 | * sysdeps/pthread/pthread_rwlock_timedwrlock.c | |
233 | (pthread_rwlock_timedwrlock): Likewise. | |
234 | ||
235 | * sysdeps/unix/sysv/linux/s390/libc-lowlevellock.c (___lll_lock): | |
236 | Don't define lll_unlock_wake_cb and ___lll_timedwait_tid in libc.so. | |
237 | * sysdeps/unix/sysv/linux/s390/lowlevellock.c: Remove XXX comments. | |
238 | ||
239 | * sysdeps/unix/sysv/linux/s390/sem_post.c (__new_sem_post): Fix | |
240 | check of lll_futex_wake return value. | |
241 | ||
ea6a015b RM |
242 | 2003-03-03 Roland McGrath <roland@redhat.com> |
243 | ||
244 | * forward.c: Fix typo in __pthread_attr_init_2_0 compat_symbol decl. | |
245 | ||
246 | * sysdeps/pthread/pthread-functions.h (struct pthread_functions): | |
247 | Argument to ptr___pthread_cleanup_upto is __jmp_buf, not jmp_buf. | |
248 | * sysdeps/unix/sysv/linux/jmp-unwind.c: Likewise. | |
249 | ||
4adacf57 UD |
250 | 2003-03-02 Ulrich Drepper <drepper@redhat.com> |
251 | ||
1be3d664 UD |
252 | * sysdeps/pthread/timer_create.c (timer_create): Return correct |
253 | error for CPU clocks. | |
254 | ||
885bafa1 UD |
255 | * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define |
256 | _POSIX_MONOTONIC_CLOCK. | |
257 | * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise. | |
258 | ||
4adacf57 UD |
259 | * tst-cancel4.c (tf_sleep): Lower sleep time a bit to not upset |
260 | recent kernels. | |
261 | ||
86bfff4d UD |
262 | 2003-03-01 Ulrich Drepper <drepper@redhat.com> |
263 | ||
264 | * descr.h (struct pthread): Move cleanup field to the front. | |
265 | ||
d1149385 RM |
266 | 2003-03-01 Roland McGrath <roland@redhat.com> |
267 | ||
268 | * sem_open.c (sem_open): Braino fix. | |
269 | ||
bd8bb78b UD |
270 | 2003-03-01 Ulrich Drepper <drepper@redhat.com> |
271 | ||
748bec08 UD |
272 | * sysdeps/i386/tcb-offsets.sym: Add CLEANUP and CLEANUP_PREV. |
273 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Inline | |
274 | __pthread_cleanup_pop functionality. | |
275 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise. | |
276 | ||
bd8bb78b UD |
277 | * descr.h (struct pthread): Move tid field to the front now that |
278 | it is often used. | |
279 | ||
280 | * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S | |
281 | (__lll_mutex_timedlock_wait): Remove. | |
282 | (__lll_mutex_unlock_wake): Don't save, load, and restore %esi. | |
283 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S | |
284 | (__lll_mutex_unlock_wake): Don't save, load, and restore %esi. | |
285 | * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S | |
286 | (lll_unlock_wake_cb): Don't save and restore %esi. | |
287 | (__lll_unlock_wake): Add alignment. Don't save, load, and restore | |
288 | %esi. | |
289 | (__lll_timedwait_tid): Add alignment. | |
290 | * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S | |
291 | (__lll_unlock_wake): Add alignment. Don't save, load, and restore | |
292 | %esi. | |
293 | (__lll_timedwait_tid): Removed. | |
294 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S | |
295 | (__pthread_cond_broadcast): Don't save, load, and restore %esi. | |
296 | * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S | |
297 | (pthread_barrier_wait): Don't save, load, and restore %esi for | |
298 | last thread. | |
299 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S | |
300 | (__pthread_cond_signal): Don't save, load, and restore %esi. | |
301 | * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S | |
302 | (__pthread_rwlock_unlock): Don't save, load, and restore %esi. | |
303 | * sysdeps/unix/sysv/linux/i386/i486/sem_post.S (__new_sem_post): | |
304 | Don't save, load, and restore %esi. | |
305 | ||
d2637c70 UD |
306 | 2003-02-27 Ulrich Drepper <drepper@redhat.com> |
307 | ||
567fb22a UD |
308 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: |
309 | Release lock before waking up the waiters. | |
310 | ||
427f5fa1 UD |
311 | * tst-exit1.c (do_test): Don't start more than one thread in parallel. |
312 | ||
a2d83cfb UD |
313 | * tst-rwlock9.c (writer_thread): Correct adding TIMEOUT. |
314 | (reader_thread): Likewise. | |
315 | ||
d2637c70 UD |
316 | * sysdeps/pthread/pthread_rwlock_unlock.c |
317 | (__pthread_rwlock_unlock): Release internal lock early. Don't try | |
318 | to wake up readers if there are none. | |
319 | ||
320 | * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: | |
321 | Release internal lock before wake threads. | |
322 | ||
b1531183 UD |
323 | 2003-02-26 Ulrich Drepper <drepper@redhat.com> |
324 | ||
dbf6131c UD |
325 | * Makefile (tests): Add tst-rwlock10 and tst-rwlock11. |
326 | * tst-rwlock8.c: Initialize lock with INIT. Allow INIT to be | |
327 | predefined. | |
328 | * tst-rwlock9.c: Likewise. | |
329 | * tst-rwlock10.c: New file. | |
330 | * tst-rwlock11.c: New file. | |
331 | ||
695799fe UD |
332 | * Makefile (tests): Add tst-dlsym1. |
333 | * tst-dlsym1.c: New file. | |
334 | ||
b1531183 UD |
335 | * init.c (__pthread_initialize_minimal_internal): Set |
336 | GL(dl_error_catch_tsd) to __libc_dl_error_tsd. | |
337 | * Versions (libc:GLIBC_PRIVATE): Export __libc_dl_error_tsd. | |
338 | ||
3724f268 UD |
339 | 2003-02-24 Ulrich Drepper <drepper@redhat.com> |
340 | ||
3857ca78 UD |
341 | * sem_open.c (sem_open): Fix handling of O_CREAT without O_EXCL. |
342 | ||
80d80779 UD |
343 | * tst-cond2.c: Fix sychronization with child. |
344 | ||
86371308 UD |
345 | * tst-rwlock8.c (reader_thread): Remove unused variable. |
346 | ||
ffeb4481 UD |
347 | * Makefile: Add rules to build and run tst-tls3. |
348 | * tst-tls3.c: New file. | |
349 | * tst-tls3mod.c: New file. | |
350 | ||
3724f268 UD |
351 | * Makefile (tests): Add tst-rwlock8 and tst-rwlock9. |
352 | * tst-rwlock8.c: New file. | |
353 | * tst-rwlock9.c: New file. | |
354 | * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Fix | |
355 | complete broken rwlock implementation. | |
356 | * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: | |
357 | Likewise. | |
358 | * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: | |
359 | Likewise. | |
360 | * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: Likewise. | |
361 | * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise. | |
18a53579 UD |
362 | * sysdeps/pthread/pthread_rwlock_rdlock.c: Likewise. |
363 | * sysdeps/pthread/pthread_rwlock_timedrdlock.c: Likewise. | |
364 | * sysdeps/pthread/pthread_rwlock_timedwrlock.c: Likewise. | |
365 | * sysdeps/pthread/pthread_rwlock_unlock.c: Likewise. | |
366 | * sysdeps/pthread/pthread_rwlock_wrlock.c: Likewise. | |
3724f268 | 367 | |
8915cc40 RM |
368 | 2003-02-23 Roland McGrath <roland@redhat.com> |
369 | ||
370 | * Makefile (nptl-version): Change regexp so case sensitivity is ok. | |
371 | ||
fd1a0d0c UD |
372 | 2003-02-23 Ulrich Drepper <drepper@redhat.com> |
373 | ||
ecf28959 UD |
374 | * Makefile (tests): Add tst-context1. |
375 | * tst-context1.c: New file. | |
376 | ||
5e47b76b UD |
377 | * Makefile (tests): Add tst-tls1 and tst-tls2. |
378 | * tst-tls1.c: New file. | |
379 | * tst-tls2.c: New file. | |
380 | ||
5a6bbb41 UD |
381 | * libc-cancellation.c (__libc_enable_asynccancel): Correct test |
382 | for failed cmpxchg. | |
383 | ||
fd1a0d0c UD |
384 | * pthread_create.c (start_thread): Set EXITING_BIT early. |
385 | ||
386 | * sysdeps/i386/tls.h (THREAD_GETMEM): Mark asm as volatile. | |
387 | (THREAD_GETMEM_NC): Likewise. | |
388 | ||
757f9fcb UD |
389 | 2003-02-22 Ulrich Drepper <drepper@redhat.com> |
390 | ||
b1b8e747 UD |
391 | * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Shave |
392 | off 3 more bytes by using offset-less instructions when possible. | |
393 | ||
c780aa21 | 394 | * Makefile: Add dependency for $(objpfx)version.d. |
757f9fcb UD |
395 | |
396 | * eintr.c (eintr_source): Add unnecessary return but the compiler | |
397 | insists. | |
398 | ||
399 | * tst-kill3.c: Include <unistd.h>. | |
400 | ||
5148559c RM |
401 | 2003-02-21 Roland McGrath <roland@redhat.com> |
402 | ||
403 | * pthread_create.c (start_thread): Call __libc_thread_freeres. | |
404 | ||
ab2d98e3 UD |
405 | 2003-02-21 Ulrich Drepper <drepper@redhat.com> |
406 | ||
71028edd UD |
407 | * Makefile (tests): Add tst-eintr1. |
408 | (distribute): Add eintr.c. | |
409 | * tst-eintr1.c: New file. | |
410 | * eintr.c: New file. | |
411 | ||
e814f748 UD |
412 | * pthread_cancel.c (pthread_cancel): Use tkill directly. |
413 | ||
414 | * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): | |
415 | Disallow sending SIGCANCEL. | |
416 | ||
ab2d98e3 | 417 | * Makefile (tests): Remove tst-basic7. Add tst-kill1, tst-kill2, |
9c03686d | 418 | tst-kill3, tst-kill4, tst-kill5, tst-kill6. |
e814f748 UD |
419 | * tst-kill1.c: New file. |
420 | * tst-kill2.c: New file. | |
421 | * tst-kill3.c: New file. | |
422 | * tst-kill5.c: New file. | |
9c03686d | 423 | * tst-kill6.c: New file. |
e814f748 UD |
424 | * tst-basic7.c: Renamed to... |
425 | * tst-kill4.c: ...this. | |
ab2d98e3 | 426 | |
59fed0e2 RM |
427 | 2003-02-21 Roland McGrath <roland@redhat.com> |
428 | ||
429 | * Makefile (install-lib-ldscripts): New variable. | |
430 | ||
49dc759f UD |
431 | 2003-02-21 Ulrich Drepper <drepper@redhat.com> |
432 | ||
8c2e9a29 UD |
433 | * pthreadP.h: Define INVALID_TD_P and INVALID_NOT_TERMINATED_TD_P. |
434 | * pthread_cancel.c: Use INVALID_TD_P. | |
435 | * pthread_detach.c: Likewise. | |
436 | * pthread_getschedparam.c: Likewise. | |
437 | * pthread_setschedparam.c: Likewise. | |
438 | * sysdeps/pthread/pthread_getcpuclockid.c: Likewise. | |
439 | * sysdeps/unix/sysv/linux/pthread_kill.c: Likewise. | |
440 | * pthread_join.c: Use INVALID_NOT_TERMINATED_TD_P. | |
441 | * pthread_timedjoin.c: Likewise. | |
442 | ||
443 | * tst-basic7.c: Include <signal.h>. | |
444 | ||
49dc759f UD |
445 | * pthread_join.c (pthread_join): Limited checking for invalid |
446 | descriptors. | |
447 | * pthread_timedjoin.c (pthread_timedjoin_np): Likewise. | |
448 | ||
df5803bf UD |
449 | 2003-02-20 Ulrich Drepper <drepper@redhat.com> |
450 | ||
c5acd3d7 UD |
451 | * pthread_create.c (deallocate_tsd): Reset found_nonzero at the |
452 | beginning of the loop. Clear the entire first block of TSD. | |
df5803bf UD |
453 | * Makefile (tests): Add tst-key4. |
454 | * tst-key4.c: New file. | |
455 | ||
729924a0 UD |
456 | 2003-02-18 Ulrich Drepper <drepper@redhat.com> |
457 | ||
2f7dc594 UD |
458 | * Makefile (tests): Add tst-basic7. |
459 | * tst-basic7.c: New file. | |
460 | ||
ba25bb0f UD |
461 | * pthread_create.c (deallocate_tsd): Mark as internal_function. |
462 | Add some more __builtin_expect. | |
463 | ||
12fd3c5f | 464 | * pthreadP.h: Define dummy version of DEBUGGING_P. |
729924a0 | 465 | |
5430d926 UD |
466 | 2003-02-17 Ulrich Drepper <drepper@redhat.com> |
467 | ||
b0db7fbe UD |
468 | * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Remnove |
469 | _POSIX_THREAD_PRIORITY_SCHEDULING. | |
470 | * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Remove | |
471 | _XOPEN_REALTIME_THREADS. | |
472 | * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. | |
473 | ||
474 | * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): The | |
475 | kernel returns EINVAL for PID <= 0, work around it. | |
476 | ||
ecfda9bd UD |
477 | * Makefile (tests): Add tst-signal5. |
478 | * tst-signal5.c: New file. | |
479 | ||
7d78ab99 UD |
480 | * sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX |
481 | and LOGIN_NAME_MAX. | |
482 | ||
371a2972 UD |
483 | * tst-cancel1.c (tf): Block all signals. |
484 | ||
5430d926 UD |
485 | * Makefile (tests): Add tst-basic6. |
486 | * tst-basic6.c: New file. | |
487 | ||
488 | * tst-basic1.c: Add test for process ID. | |
489 | ||
490 | * Makefile (tests): Add tst-cancel10. | |
491 | * tst-cancel10.c: New file. | |
492 | ||
493 | * Makefile (tests): Add tst-signal4. | |
494 | * tst-signal4.c: New file. | |
495 | ||
496 | * sysdeps/pthread/pthread_sigmask.c (pthread_sigmask): Use | |
497 | __sigismember instead of sigismember. Add __builtin_expect. | |
498 | ||
1564916a UD |
499 | 2003-02-16 Ulrich Drepper <drepper@redhat.com> |
500 | ||
179ff175 UD |
501 | * tst-attr1.c (do_test): Add tests for pthread_setcanceltype, |
502 | pthread_setcancelstate, and pthread_rwlock_setpshared. | |
503 | ||
e4335f9a UD |
504 | * tst-cancel7.c (do_test): Make sure the pid file exists before |
505 | canceling the thread. | |
506 | ||
0a37669a UD |
507 | * tst-rwlock6.c: More pthread_rwlock_timedwrlock and |
508 | pthread_rwlock_timedrdlock tests. | |
509 | * tst-rwlock7.c: More pthread_rwlock_timedwrlock tests. | |
510 | * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: | |
511 | Check for invalid tv_nsec field. | |
512 | * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: | |
513 | Likewise. | |
514 | ||
515 | * pthread_mutex_trylock.c (__pthread_mutex_trylock): Protect | |
516 | recursive mutex of overflow. | |
517 | ||
518 | * tst-attr1.c (do_test): Add test for pthread_mutexattr_setpshared. | |
519 | ||
e4335f9a | 520 | * libc-cancellation.c (__libc_enable_asynccancel): Rewrite to avoid |
1564916a UD |
521 | going into an endless loop. |
522 | * Makefile (tests): Add tst-cancel9. | |
523 | * tst-cancel9.c: New file. | |
524 | ||
525 | * pthread_cancel.c (pthread_cancel): Use the result of __pthread_kill. | |
526 | ||
b270b548 UD |
527 | 2003-02-15 Ulrich Drepper <drepper@redhat.com> |
528 | ||
1c82b97f UD |
529 | * tst-mutex5.c (do_test): Add more timedlock tests. |
530 | ||
b2f05465 | 531 | * tst-mutex2.c: Tests of trylock and unlock with ERROR mutexes. |
c3bb9ee1 UD |
532 | * tst-mutex3.c (do_test): Add tests for trylock with RECURSIVE mutexes. |
533 | ||
e798b60f UD |
534 | * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Don't |
535 | use INLINE_SYSCALL. Error number is returned, not -1. | |
536 | ||
90491dc4 UD |
537 | * pthreadP.h: Mark declarations of __find_in_stack_list, __free_tcb, |
538 | and __deallocate_stack with internal_function. | |
539 | * pthread_create.c: Adjust definitions appropriately. | |
540 | * allocatestack.c: Likewise. | |
541 | ||
542 | * pthread_join.c: Add one more __builtin_expect. | |
543 | * pthread_timedjoin.c: Likewise. | |
544 | ||
545 | * pthread_getspecific.c (__pthread_getspecific): Clear data->data | |
546 | not data of sequence number does not match. | |
547 | Add one __builtin_expect. | |
548 | ||
c6247c9d UD |
549 | * Makefile (tests): Add tst-clock1. |
550 | * tst-clock1.c: New file. | |
551 | ||
b270b548 UD |
552 | * pthread_setconcurrency.c (pthread_setconcurrency): Fail for |
553 | negative arguments. | |
554 | * Makefile (tests): Add tst-basic5. | |
555 | * tst-basic5.c: New file. | |
556 | ||
700bf7af UD |
557 | 2003-02-14 Ulrich Drepper <drepper@redhat.com> |
558 | ||
757de559 UD |
559 | * Makefile (tests): Add tst-basic4. |
560 | * tst-basic4.c: New file. | |
561 | ||
47202270 UD |
562 | * pthreadP.h: Add declaraction for __nptl_nthreads. |
563 | * pthread_create.c: Define __nptl_nthreads | |
564 | (start_thread): Increment __nptl_nthreads at beginning. Decrement | |
b270b548 | 565 | after thread is done. If then zero, call exit(0). |
47202270 UD |
566 | * sysdeps/pthread/pthread-functions.h (struct pthread_functions): |
567 | Add ptr_nthreads. Define HAVE_PTR_NTHREADS. | |
568 | * init.c (pthread_functions): Initialize ptr_nthreads. | |
569 | * allocatestack.c (nptl_nthreads): Remove definition and all uses. | |
570 | (__reclaim_stacks): Decrement __nptl_nthreads. | |
571 | * sysdeps/pthread/Makefile [$(subdir)==csu] (CFLAGS-libc-start.c): | |
572 | Define. | |
573 | * Makefile (tests): Add tst-basic3. | |
574 | * tst-basic3.c: New file. | |
575 | ||
e320ef46 UD |
576 | * descr.h: Define CANCELING_BIT and CANCELING_BITMASK. Introduce |
577 | after CANCELTYPE_BIT, move the other bits up. Update CANCEL_RESTMASK. | |
578 | * init.c (sigcancel_handler): Also set CANCELING_BITMASK bit in newval. | |
579 | * pthread_cancel.c (pthread_cancel): Likewise. Also set CANCELING_BIT | |
580 | if asynchronous canceling is enabled. | |
581 | * pthread_join.c (pthread_join): When recognizing circular joins, | |
582 | take into account the other thread might be already canceled. | |
583 | * Makefile (tests): Add tst-join5. | |
584 | * tst-join5.c: New file. | |
585 | ||
700bf7af UD |
586 | * Makefile (tests): Add tst-join4. |
587 | * tst-join4.c: New file. | |
588 | ||
589 | 2003-02-13 Ulrich Drepper <drepper@redhat.com> | |
590 | ||
591 | * tst-cond4.c (main): Add test of pthread_attr_getpshared. | |
592 | ||
dac0f772 UD |
593 | 2003-02-13 Martin Schwidefsky <schwidefsky@de.ibm.com> |
594 | ||
595 | * sysdeps/s390/tls.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, | |
596 | THREAD_SETMEM_NC): Use passed descr instead of THREAD_SELF. | |
597 | * sysdeps/unix/sysv/linux/s390/jmp-unwind.c (_longjmp_unwind): Avoid | |
598 | warning. | |
599 | * sysdeps/unix/sysv/linux/s390/lowlevellock.c: Include <sys/time.h> | |
600 | to avoid warning. | |
601 | * sysdeps/unix/sysv/linux/s390/sem_post.c (__new_sem_post): Return | |
602 | error if lll_futex_wake failed. | |
603 | ||
e8cda341 UD |
604 | 2003-02-13 Ulrich Drepper <drepper@redhat.com> |
605 | ||
a7720b5e UD |
606 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Fix |
607 | handling of cancellation and failung pthread_mutex_unlock call. | |
608 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise. | |
609 | * Makefile (tests): Add tst-cond8 and tst-cond9. | |
610 | * tst-cond8.c: New file. | |
611 | * tst-cond9.c: New file. | |
612 | ||
a1ea4c06 UD |
613 | * tst-cond7.c (do_test): Unlock the mutex before canceling the thread. |
614 | ||
615 | * sysdeps/pthread/pthread.h: Add missing initializers. Protect | |
616 | non-standard initializers with __USE_GNU. | |
617 | ||
e8cda341 UD |
618 | * Makefile (tests): Add tst-cleanup3. |
619 | * tst-cleanup3.c: New file. | |
620 | ||
2067577c UD |
621 | 2003-02-12 Ulrich Drepper <drepper@redhat.com> |
622 | ||
89e78a95 UD |
623 | * Makefile (tests): Add tst-attr1 and tst-attr2. |
624 | * tst-attr1.c: New file. | |
625 | * tst-attr2.c: New file. | |
626 | ||
dfdd294a UD |
627 | * Makefile: Add rules to build and run tst-atfork2 test. |
628 | * tst-atfork2.c: New file. | |
629 | * tst-atfork2mod.c: New file. | |
630 | ||
631 | * sysdeps/unix/sysv/linux/unregister-atfork.c | |
632 | (__unregister_atfork): Free the memory allocated for the handlers | |
633 | after removing them from the lists. | |
634 | ||
635 | * sysdeps/unix/sysv/linux/register-atfork.c: Define memeory | |
636 | cleanup function. | |
637 | ||
638 | * tst-atfork1.c (do_test): Wait for the child we forked. | |
639 | Report error in child. | |
640 | ||
641 | * sysdeps/unix/sysv/linux/fork.c (__libc_fork): Fix comment. | |
642 | ||
2067577c UD |
643 | * sysdeps/pthread/Makefile: Define CFLAGS-confstr.c. |
644 | ||
2a8a8a84 UD |
645 | 2003-02-10 Ulrich Drepper <drepper@redhat.com> |
646 | ||
d9dd121e UD |
647 | * Makefile (tests): Add tst-cancel8. |
648 | * tst-cancel8.c: New file. | |
649 | ||
2a8a8a84 UD |
650 | * sysdeps/unix/sysv/linux/i386/pthread_once.S (clear_once_control): Fix |
651 | clearing of control variable. | |
defd1870 | 652 | * Makefile (tests): Add tst-once3 and tst-once4. |
2a8a8a84 | 653 | * tst-once3.c: New file. |
defd1870 | 654 | * tst-once4.c: New file. |
2a8a8a84 | 655 | |
a54e8d33 UD |
656 | 2003-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp> |
657 | ||
658 | * sysdeps/sh/Makefile: New file. | |
659 | * sysdeps/sh/bits/atomic.h: New file. | |
660 | * sysdeps/sh/pthread_spin_init.c: New file. | |
661 | * sysdeps/sh/pthread_spin_lock.c: New file. | |
662 | * sysdeps/sh/pthread_spin_trylock.S: New file. | |
663 | * sysdeps/sh/pthread_spin_unlock.S: New file. | |
664 | * sysdeps/sh/pthreaddef.h: New file. | |
665 | * sysdeps/sh/tcb-offsets.sym: New file. | |
666 | * sysdeps/sh/td_ta_map_lwp2thr.c: New file. | |
667 | * sysdeps/sh/tls.h: New file. | |
668 | * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: New file. | |
669 | * sysdeps/unix/sysv/linux/sh/bits/semaphore.h: New file. | |
670 | * sysdeps/unix/sysv/linux/sh/createthread.c: New file. | |
671 | * sysdeps/unix/sysv/linux/sh/fork.c: New file. | |
672 | * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: New file. | |
673 | * sysdeps/unix/sysv/linux/sh/libc-lowlevelmutex.S: New file. | |
674 | * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: New file. | |
675 | * sysdeps/unix/sysv/linux/sh/lowlevelcond.h: New file. | |
676 | * sysdeps/unix/sysv/linux/sh/lowlevellock.S: New file. | |
677 | * sysdeps/unix/sysv/linux/sh/lowlevellock.h: New file. | |
678 | * sysdeps/unix/sysv/linux/sh/lowlevelmutex.S: New file. | |
679 | * sysdeps/unix/sysv/linux/sh/lowlevelrwlock.h: New file. | |
680 | * sysdeps/unix/sysv/linux/sh/pt-initfini.c: New file. | |
681 | * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file. | |
682 | * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: New file. | |
683 | * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: New file. | |
684 | * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: New file. | |
685 | * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: New file. | |
686 | * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: New file. | |
687 | * sysdeps/unix/sysv/linux/sh/pthread_once.S: New file. | |
688 | * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: New file. | |
689 | * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: New file. | |
690 | * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: New file. | |
691 | * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: New file. | |
692 | * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: New file. | |
693 | * sysdeps/unix/sysv/linux/sh/sem_post.S: New file. | |
694 | * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: New file. | |
695 | * sysdeps/unix/sysv/linux/sh/sem_trywait.S: New file. | |
696 | * sysdeps/unix/sysv/linux/sh/sem_wait.S: New file. | |
697 | * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: New file. | |
698 | ||
696e556e UD |
699 | 2003-02-08 Ulrich Drepper <drepper@redhat.com> |
700 | ||
701 | * tst-cond2.c: Rearrange code to not rely on behavior undefined | |
702 | according to POSIX. | |
703 | ||
704 | * tst-basic2.c (do_test): Lock mutex before creating the thread. | |
705 | ||
fef710d6 UD |
706 | 2003-02-07 Ulrich Drepper <drepper@redhat.com> |
707 | ||
c6180643 UD |
708 | * sysdeps/x86_64/tls.h: Remove unnecessary macros, left over from x86. |
709 | (TLS_GET_FS): New #define. | |
710 | (TLS_SET_FS): New #define. | |
711 | Correct value of __NR_set_thread_area. | |
712 | ||
fef710d6 UD |
713 | * sysdeps/x86_64/td_ta_map_lwp2thr.c: New file. |
714 | ||
11090a99 UD |
715 | 2003-02-06 Ulrich Drepper <drepper@redhat.com> |
716 | ||
65c68990 UD |
717 | * Makefile (tests): Add tst-popen1. |
718 | * tst-popen1.c: New file. | |
719 | ||
11090a99 UD |
720 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Remove wrong |
721 | but inactive generalization. | |
722 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise. | |
723 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise. | |
724 | Minor optimization, remove one instruction. | |
725 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise. | |
726 | ||
a88c9263 UD |
727 | 2003-02-04 Martin Schwidefsky <schwidefsky@de.ibm.com> |
728 | ||
729 | * sysdeps/unix/sysv/linux/s390/fork.c: Correct order of parameters. | |
730 | ||
731 | 2003-01-31 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
732 | ||
733 | * init.c (__NR_set_tid_address): Add #ifdef for s390. | |
734 | * sysdeps/pthread/pthread_barrier_wait.c: New file. | |
735 | * sysdeps/pthread/pthread_cond_broadcast.c: New file. | |
736 | * sysdeps/pthread/pthread_cond_signal.c: New file. | |
737 | * sysdeps/pthread/pthread_cond_timedwait.c: New file. | |
738 | * sysdeps/pthread/pthread_cond_wait.c: New file. | |
739 | * sysdeps/pthread/pthread_rwlock_rdlock.c: New file. | |
740 | * sysdeps/pthread/pthread_rwlock_timedrdlock.c: New file. | |
741 | * sysdeps/pthread/pthread_rwlock_timedwrlock.c: New file. | |
742 | * sysdeps/pthread/pthread_rwlock_unlock.c: New file. | |
743 | * sysdeps/pthread/pthread_rwlock_wrlock.c: New file. | |
744 | * sysdeps/s390/Makefile: New file. | |
745 | * sysdeps/s390/bits/atomic.h: New file. | |
746 | * sysdeps/s390/pthread_spin_init.c: New file. | |
747 | * sysdeps/s390/pthread_spin_lock.c: New file. | |
748 | * sysdeps/s390/pthread_spin_trylock.c: New file. | |
749 | * sysdeps/s390/pthread_spin_unlock.c: New file. | |
750 | * sysdeps/s390/pthreaddef.h: New file. | |
751 | * sysdeps/s390/tcb-offsets.sym: New file. | |
752 | * sysdeps/s390/td_ta_map_lwp2thr.c: New file. | |
753 | * sysdeps/s390/tls.h: New file. | |
754 | * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: New file. | |
755 | * sysdeps/unix/sysv/linux/s390/bits/semaphore.h: New file. | |
756 | * sysdeps/unix/sysv/linux/s390/createthread.c: New file. | |
757 | * sysdeps/unix/sysv/linux/s390/dl-sysdep.h: New file. | |
758 | * sysdeps/unix/sysv/linux/s390/fork.c: New file. | |
759 | * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: New file. | |
760 | * sysdeps/unix/sysv/linux/s390/libc-lowlevellock.c: New file. | |
761 | * sysdeps/unix/sysv/linux/s390/libc-lowlevelmutex.c: New file. | |
762 | * sysdeps/unix/sysv/linux/s390/lowlevellock.c: New file. | |
763 | * sysdeps/unix/sysv/linux/s390/lowlevellock.h: New file. | |
764 | * sysdeps/unix/sysv/linux/s390/lowlevelmutex.c: New file. | |
765 | * sysdeps/unix/sysv/linux/s390/lowlevelsem.h: New file. | |
766 | * sysdeps/unix/sysv/linux/s390/pthread_once.c: New file. | |
767 | * sysdeps/unix/sysv/linux/s390/s390-32/pt-initfini.c: New file. | |
768 | * sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: New file. | |
769 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: New file. | |
770 | * sysdeps/unix/sysv/linux/s390/s390-64/pt-initfini.c: New file. | |
771 | * sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: New file. | |
772 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: New file. | |
773 | * sysdeps/unix/sysv/linux/s390/sem_post.c: New file. | |
774 | * sysdeps/unix/sysv/linux/s390/sem_timedwait.c: New file. | |
775 | * sysdeps/unix/sysv/linux/s390/libc-lowlevellock.c: New file. | |
776 | * sysdeps/unix/sysv/linux/s390/sem_wait.c: New file. | |
777 | ||
6f1cff95 UD |
778 | 2003-02-04 Ulrich Drepper <drepper@redhat.com> |
779 | ||
ec609a8e UD |
780 | * atomic.h: Add a couple more default implementations. |
781 | (atomic_compare_and_exchange_acq): Use | |
d45e8740 UD |
782 | __arch_compare_and_exchange_32_acq in return value definition. It |
783 | always exists. | |
784 | (atomic_bit_set): Renamed from atomic_set_bit. | |
0289bef9 | 785 | Add missing atomic_ prefixes. |
e3ec8904 | 786 | |
6f1cff95 UD |
787 | * sysdeps/pthread/bits/libc-lock.h (__libc_once): In case no |
788 | thread library is available, use correct value to mark initialized | |
789 | once variable. | |
790 | ||
4f088329 UD |
791 | 2003-02-03 Ulrich Drepper <drepper@redhat.com> |
792 | ||
6f1cff95 UD |
793 | * allocatestack.c (allocate_stack): Use __getpagesize instead of |
794 | __sysconf to determine pagesize. | |
795 | ||
3e4fc359 | 796 | * pthread_create.c: Include <atomic.h>. |
4f088329 UD |
797 | * allocatestack.c (allocate_stack): Implement coloring of the |
798 | allocated stack memory. Rename pagesize to pagesize_m1. It's the | |
799 | size minus one. Adjust users. | |
3e4fc359 | 800 | * sysdeps/i386/i686/Makefile: New file. |
4f088329 | 801 | |
2f42e8be UD |
802 | 2003-02-02 Ulrich Drepper <drepper@redhat.com> |
803 | ||
4301f7e2 UD |
804 | * allocatestack.c: Improve comment throughout the file. |
805 | ||
2f42e8be | 806 | * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S |
a37818b3 | 807 | (__lll_lock_wait): Add branch prediction. |
2f42e8be UD |
808 | * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S |
809 | (__lll_lock_wait): Likewise. | |
810 | (lll_unlock_wake_cb): Removed. | |
811 | ||
4a7d6545 UD |
812 | 2003-01-31 Ulrich Drepper <drepper@redhat.com> |
813 | ||
814 | * sysdeps/unix/sysv/linux/bits/posix_opt.h: Remove | |
815 | _POSIX_THREAD_PRIORITY_SCHEDULING. | |
816 | ||
886d5973 UD |
817 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> |
818 | ||
819 | * sysdeps/pthread/pthread-functions.h (struct pthread_functions): | |
820 | Fix return type of ptr___pthread_getspecific. | |
821 | ||
e474ca78 UD |
822 | 2003-01-29 Ulrich Drepper <drepper@redhat.com> |
823 | ||
824 | * Makefile (tests): Add tst-umask1. | |
825 | (tst-umask1-ARGS): Define. | |
826 | * tst-umask1.c: New file. | |
827 | ||
e6ebd2e4 UD |
828 | 2003-01-28 Ulrich Drepper <drepper@redhat.com> |
829 | ||
6cf26f41 UD |
830 | * Makefile (libpthread-routines): Remove lowlevelrwlock. Add |
831 | pthread_rwlock_rdlock, pthread_rwlock_timedrdlock, | |
832 | pthread_rwlock_wrlock, pthread_rwlock_timedwrlock, and | |
833 | pthread_rwlock_unlock. | |
834 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S: Removed | |
835 | * sysdeps/unix/sysv/linux/i386/i586/lowlevelrwlock.S: Removed | |
836 | * sysdeps/unix/sysv/linux/i386/i686/lowlevelrwlock.S: Removed | |
837 | * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: New file. | |
838 | * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: | |
839 | New file. | |
840 | * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: New file. | |
841 | * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: | |
842 | New file. | |
843 | * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: New file. | |
844 | * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: New file. | |
845 | * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: | |
846 | New file. | |
847 | * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: New file. | |
848 | * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: | |
849 | New file. | |
850 | * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: New file. | |
851 | * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: New file. | |
852 | * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: | |
853 | New file. | |
854 | * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: New file. | |
855 | * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: | |
856 | New file. | |
857 | * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: New file. | |
858 | ||
1d087a7e UD |
859 | * Makefile (libpthread-routines): Remove lowlevelcond and |
860 | lowlevelsem. Add sem_wait, sem_trywait, sem_timedwait, sem_post, | |
861 | pthread_cond_wait, pthread_cond_timedwait, pthread_cond_signal, | |
862 | and pthread_cond_broadcast. | |
4a99d160 UD |
863 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S: Removed |
864 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S: Removed | |
865 | * sysdeps/unix/sysv/linux/i386/i586/lowlevelsem.S: Removed | |
866 | * sysdeps/unix/sysv/linux/i386/i586/lowlevelcond.S: Removed | |
867 | * sysdeps/unix/sysv/linux/i386/i686/lowlevelsem.S: Removed | |
868 | * sysdeps/unix/sysv/linux/i386/i686/lowlevelcond.S: Removed | |
869 | * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: New file. | |
870 | * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: New file. | |
871 | * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: New file. | |
872 | * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: New file. | |
873 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: New file. | |
874 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: New file. | |
875 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: New file. | |
876 | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: New file. | |
877 | * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: New file. | |
878 | * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: New file. | |
879 | * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: New file. | |
880 | * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: New file. | |
881 | * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: New file. | |
882 | * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: New file. | |
883 | * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: New file. | |
884 | * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: New file. | |
885 | * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: New file. | |
886 | * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: New file. | |
887 | * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: New file. | |
888 | * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: New file. | |
889 | * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: New file. | |
890 | * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: New file. | |
891 | * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: New file. | |
892 | * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: New file. | |
893 | * sysdeps/unix/sysv/linux/i386/lowlevelcond.h: New file. | |
1d087a7e | 894 | |
e6ebd2e4 UD |
895 | * sysdeps/unix/sysv/linux/i386/createthread.c: Define |
896 | PREPARE_CREATE and TLS_VALUE with x86-specific bits. All the rest | |
897 | of the code is moved to ... | |
898 | * sysdeps/pthread/createthread.c: ...here. New file. | |
899 | ||
a15698cb UD |
900 | 2003-01-27 Ulrich Drepper <drepper@redhat.com> |
901 | ||
0566b130 UD |
902 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S |
903 | (__new_sem_post): Clear %eax before returning. | |
904 | Reported by MAEDA Naoaki <maeda.naoaki@jp.fujitsu.com>. | |
905 | ||
e6fb8846 UD |
906 | * Makefile (tests): Add tst-cleanup2. |
907 | * tst-cleanup2.c: New file. | |
908 | ||
a15698cb UD |
909 | * sysdeps/pthread/bits/libc-lock.h (__libc_cleanup_region_start): |
910 | Interpret first parameter correctly. | |
911 | ||
8824b0a1 UD |
912 | 2003-01-17 Ulrich Drepper <drepper@redhat.com> |
913 | ||
914 | * Makefile (headers): Add bits/semaphore.h. | |
915 | ||
850dcfca UD |
916 | 2003-01-16 Jakub Jelinek <jakub@redhat.com> |
917 | ||
918 | * sysdeps/i386/tls.h (INIT_SYSINFO): Initialize _head->sysinfo even | |
919 | if not SHARED. | |
920 | ||
574b892e UD |
921 | 2003-01-14 Ulrich Drepper <drepper@redhat.com> |
922 | ||
a8d87c92 UD |
923 | * sem_open.c (sem_open): Return SEM_FAILED if existing semaphore |
924 | must be used and mapping failed. | |
925 | Reported by Luke Elliott <luke.elliott@activfinancial.com>. | |
926 | ||
574b892e UD |
927 | * Makefile (CFLAGS-pthread_self.os): Define this, not |
928 | CFLAGS-pthread_self.c. | |
929 | ||
fb48047a UD |
930 | 2003-01-13 Ulrich Drepper <drepper@redhat.com> |
931 | ||
47805511 UD |
932 | * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Don't export |
933 | lll_unlock_wake_cb. | |
934 | ||
fb48047a UD |
935 | * Makefile (libpthread-routines): Add version. Add rules to build |
936 | version.os and banner.h. | |
937 | * version.c: New file. | |
938 | ||
115bb61d UD |
939 | 2003-01-13 Jakub Jelinek <jakub@redhat.com> |
940 | ||
941 | * pthread_mutex_lock.c (__pthread_mutex_lock_internal): Make | |
942 | the alias unconditional. | |
943 | * pthread_mutex_unlock.c (__pthread_mutex_unlock_internal): Likewise. | |
944 | ||
945 | 2003-01-13 Ulrich Drepper <drepper@redhat.com> | |
946 | ||
947 | * Makefile (CFLAGS-pthread_self.c): New definition. | |
948 | ||
6aca81bb UD |
949 | 2003-01-06 Jakub Jelinek <jakub@redhat.com> |
950 | ||
951 | * sysdeps/pthread/pthread_sigmask.c (pthread_sigmask): Add | |
952 | INTERNAL_SYSCALL_DECL, add err argument to INTERNAL_SYSCALL* macros. | |
953 | * sysdeps/unix/sysv/linux/raise.c (raise): Likewise. | |
954 | * init.c (__pthread_initialize_minimal_internal): Likewise. | |
955 | ||
e9c7764e UD |
956 | 2003-01-07 Jakub Jelinek <jakub@redhat.com> |
957 | ||
b5facfda UD |
958 | * pthreadP.h (__pthread_cond_timedwait): Add prototype. |
959 | ||
e9c7764e UD |
960 | * sysdeps/unix/sysv/linux/i386/dl-sysdep.h |
961 | (RTLD_CORRECT_DYNAMIC_WEAK): Remove. | |
962 | (DL_SYSINFO_IMPLEMENTATION): Change into .text section and back. | |
963 | * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h | |
964 | (RTLD_CORRECT_DYNAMIC_WEAK): Remove. | |
965 | (DL_SYSINFO_IMPLEMENTATION): Change into .text section and back. | |
966 | ||
bef1e42f UD |
967 | 2003-01-06 Jakub Jelinek <jakub@redhat.com> |
968 | ||
969 | * pthreadP.h (LIBC_CANCEL_HANDLED): Define. | |
970 | * pt-system.c (LIBC_CANCEL_HANDLED): Add. | |
971 | * tst-cancel-wrappers.sh: Remove all exceptions. | |
972 | ||
bbd17455 UD |
973 | 2003-01-05 Ulrich Drepper <drepper@redhat.com> |
974 | ||
a73ab6df UD |
975 | * tst-cancel-wrappers.sh: Invoke gawk not awk since we use GNU awk |
976 | features. Reported by Marijn Ros <marijn@mad.scientist.com>. | |
977 | ||
bbd17455 UD |
978 | * sysdeps/unix/sysv/linux/jmp-unwind.c: Include <pthread-functions.h>. |
979 | Use __libc_pthread_functions array if SHARED. | |
980 | ||
981 | * pthreadP.h: Move pthread_cond_2_0_t definition to... | |
982 | * sysdeps/unix/sysv/linux/internaltypes.h: ...here. | |
983 | ||
984 | * sysdeps/pthread/bits/libc-lock.h (__libc_ptf_call): New #define. | |
985 | (__libc_rwlock_rdlock, __libc_rwlock_wrlock, __libc_rwlock_unlock, | |
986 | __libc_key_create, __libc_getspecific, __libc_setspecific): Use | |
987 | __libc_ptf_call instead of __libc_maybe_call. | |
988 | (PTF): New #define. | |
989 | (__libc_cleanup_region_start): Wrap function name with PTF call. | |
990 | (__libc_cleanup_region_end): Likewise. | |
991 | (__libc_cleanup_end): Likewise. | |
992 | ||
993 | * pthread_getspecific.c: Add __pthread_getspecific_internal alias. | |
994 | * pthread_setspecific.c: Add __pthread_setspecific_internal alias. | |
995 | * pthread_key_create.c: Add __pthread_key_create_internal alias. | |
996 | * pthreadP.h: Add prototypes. | |
997 | ||
998 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S: Add | |
999 | __pthread_rwlock_rdlock, __pthread_rwlock_wrlock, and | |
1000 | __pthread_rwlock_unlock aliases. | |
1001 | * pthreadP.h: Add prototypes for new aliases. | |
1002 | ||
1003 | * pthreadP.h (struct pthead_functions): Moved to... | |
1004 | * sysdeps/pthread/pthread-functions.h: ...here. New file. | |
1005 | * init.c (pthread_functions): Add initializers for new elements. | |
1006 | ||
1007 | * cleanup_defer.c: Add __pthread_cleanup_push_defer and | |
1008 | __pthread_cleanup_pop_restore aliases. | |
1009 | * pthreadP.h: Add prototypes. | |
1010 | ||
1011 | * cleanup.c: Rename _GI_pthread_cleanup_push to __pthread_cleanup_push | |
1012 | and _GI_pthread_cleanup_pop to __pthread_cleanup_pop. | |
1013 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S: Adjust caller. | |
1014 | * sysdeps/unix/sysv/linux/i386/pthread_once.S: Likewise. | |
1015 | * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Likewise. | |
1016 | * pthreadP.h: Adjust prototypes and callers. | |
1017 | ||
d27a78be UD |
1018 | 2003-01-04 Ulrich Drepper <drepper@redhat.com> |
1019 | ||
b74121ae UD |
1020 | * Makefile (tests): Add tst-cancel7. |
1021 | (tst-cancel7-ARGS): New variable. | |
bbd17455 | 1022 | * tst-cancel7.c: New file. |
b74121ae | 1023 | |
29bc410c UD |
1024 | * old_pthread_cond_broadcast.c: Optimize initialization a bit to work |
1025 | around gcc defficiencies. | |
1026 | * old_pthread_cond_signal.c: Likewise. | |
1027 | * old_pthread_cond_timedwait.c: Likewise. | |
1028 | * old_pthread_cond_wait.c: Likewise. | |
1029 | ||
d27a78be UD |
1030 | * pthreadP.h (pthread_cond_2_0_t): Remove unneeded lock element. |
1031 | ||
733f25e6 UD |
1032 | 2003-01-03 Ulrich Drepper <drepper@redhat.com> |
1033 | ||
7edb2ae3 UD |
1034 | * Makefile (tests): Add tst-cond7. |
1035 | * tst-cond7.c: New file. | |
1036 | ||
b1151300 UD |
1037 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S |
1038 | (condvar_cleanup): Get condvar address from the right place. | |
1039 | ||
733f25e6 UD |
1040 | * atomic.h: Correct definitions of atomic_full_barrier, |
1041 | atomic_read_barrier, atomic_write_barrier. | |
1042 | ||
1043 | * old_pthread_cond_broadcast.c: Make memory allocate and initialization | |
1044 | race-free. | |
1045 | * old_pthread_cond_signal.c: Likewise. | |
1046 | * old_pthread_cond_timedwait.c: Likewise. | |
1047 | * old_pthread_cond_wait.c: Likewise. | |
1048 | ||
686b7223 UD |
1049 | 2003-01-03 Jakub Jelinek <jakub@redhat.com> |
1050 | ||
1051 | * Makefile ($(objpfx)libpthread.so): Depend on ld.so. | |
1052 | ||
0e07706e UD |
1053 | 2003-01-03 Ulrich Drepper <drepper@redhat.com> |
1054 | ||
997256dd UD |
1055 | * pthreadP.h (pthread_cond_2_0_t): New type. |
1056 | (struct pthread_functions): Use new type for 2.0 condvar callbacks. | |
1057 | Use new type for the 2.0 condvar function prototypes. | |
1058 | * forward.c: Use pthread_cond_2_0_t for 2.0 condvar functions. | |
1059 | * old_pthread_cond_init.c: Use pthread_cond_2_0_t for condvar | |
1060 | parameter. | |
1061 | * old_pthread_cond_destroy.c: Likewise. | |
1062 | * old_pthread_cond_broadcast.c: Likewise. Lock appropriately. | |
1063 | * old_pthread_cond_signal.c: Likewise. | |
1064 | * old_pthread_cond_timedwait.c: Likewise. | |
1065 | * old_pthread_cond_wait.c: Likewise. | |
1066 | ||
842d2817 UD |
1067 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S |
1068 | (__pthread_cond_wait): Don't save cancellation mode and seq value | |
1069 | in same location. | |
1070 | ||
0e07706e UD |
1071 | * herrno.c (__h_errno_location): Don't define as weak. |
1072 | ||
bf293afe UD |
1073 | 2003-01-02 Jakub Jelinek <jakub@redhat.com> |
1074 | ||
1075 | * Versions [libc] (GLIBC_2.3.2): Export pthread_cond_broadcast, | |
1076 | pthread_cond_destroy, pthread_cond_init, pthread_cond_signal | |
1077 | and pthread_cond_wait. | |
1078 | * old_pthread_cond_broadcast.c (__old_pthread_cond_broadcast): | |
1079 | Renamed to... | |
1080 | (__pthread_cond_broadcast_2_0): ... this. | |
1081 | * old_pthread_cond_destroy.c (__old_pthread_cond_destroy): | |
1082 | Renamed to... | |
1083 | (__pthread_cond_destroy_2_0): ... this. | |
1084 | * old_pthread_cond_init.c (__old_pthread_cond_init): | |
1085 | Renamed to... | |
1086 | (__pthread_cond_init_2_0): ... this. | |
1087 | * old_pthread_cond_signal.c (__old_pthread_cond_signal): | |
1088 | Renamed to... | |
1089 | (__pthread_cond_signal_2_0): ... this. | |
1090 | * old_pthread_cond_wait.c (__old_pthread_cond_wait): | |
1091 | Renamed to... | |
1092 | (__pthread_cond_wait_2_0): ... this. | |
1093 | * pthread_cond_destroy.c: Include shlib-compat.h. | |
1094 | (pthread_cond_destroy): Change strong_alias into versioned_symbol. | |
1095 | * pthread_cond_init.c: Include shlib-compat.h. | |
1096 | (pthread_cond_init): Change strong_alias into versioned_symbol. | |
1097 | * pthreadP.h (struct pthread_functions): Rename ptr_pthread_cond_* | |
1098 | fields to ptr___pthread_cond_* and add ptr___pthread_cond_*_2_0 | |
1099 | fields. | |
1100 | (__pthread_cond_broadcast_2_0, __pthread_cond_destroy_2_0, | |
1101 | __pthread_cond_init_2_0, __pthread_cond_signal_2_0, | |
1102 | __pthread_cond_wait_2_0): New prototypes. | |
1103 | (__old_pthread_cond_broadcast, __old_pthread_cond_destroy, | |
1104 | __old_pthread_cond_init, __old_pthread_cond_signal, | |
1105 | __old_pthread_cond_wait): Removed. | |
1106 | * init.c: Include shlib-compat.h. | |
1107 | (pthread_functions): Guard ptr___pthread_attr_init_2_0 | |
1108 | initialization with SHLIB_COMPAT (GLIBC_2_0, GLIBC_2_1). | |
1109 | Rename ptr_pthread_cond_* to ptr___pthread_cond_*, initialize | |
1110 | ptr___pthread_cond_*_2_0 fields. | |
1111 | * forward.c: Export both pthread_cond_*@@GLIBC_2.3.2 and | |
1112 | pthread_cond_*@GLIBC_2.0 compatibility symbols. | |
1113 | ||
1114 | * sysdeps/pthread/sigaction.c (SIGCANCEL): Only define if | |
1115 | LIBC_SIGACTION was not yet defined. | |
1116 | [!defined LIBC_SIGACTION]: Define LIBC_SIGACTION, #include self. | |
1117 | [!defined LIBC_SIGACTION] (__sigaction): New function and | |
1118 | libc_hidden_weak. | |
1119 | [!defined LIBC_SIGACTION] (sigaction): New weak_alias. | |
1120 | [defined LIBC_SIGACTION]: #include_next <sigaction.c>. | |
1121 | ||
1122 | 2003-01-02 Jakub Jelinek <jakub@redhat.com> | |
1123 | ||
1124 | * Makefile (CFLAGS-pthread_atfork.c): Add -DNOT_IN_libc. | |
1125 | ||
05df18c3 UD |
1126 | 2003-01-02 Ulrich Drepper <drepper@redhat.com> |
1127 | ||
1128 | * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_cond_t): | |
1129 | New, larger type definition. | |
1130 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S: New condvar | |
1131 | implementation. | |
1132 | * Versions [libpthread]: Add definitions for new pthread_cond_* | |
1133 | interfaces for version GLIBC_2.3.2. | |
1134 | * pthread_cond_init.c: Update initialization for new type definition. | |
1135 | * Makefile (libpthread-routines): Remove pthread_cond_wait, | |
1136 | pthread_cond_timedwait, pthread_cond_signal, and | |
1137 | pthread_cond_broadcast. Add old_pthread_cond_init, | |
1138 | old_pthread_cond_destroy, old_pthread_cond_wait, | |
1139 | old_pthread_cond_timedwait, old_pthread_cond_signal, and | |
1140 | old_pthread_cond_broadcast. | |
1141 | * old_pthread_cond_broadcast.c: New file. | |
1142 | * old_pthread_cond_destroy.c: New file. | |
1143 | * old_pthread_cond_init.c: New file. | |
1144 | * old_pthread_cond_signal.c: New file. | |
1145 | * old_pthread_cond_timedwait.c: New file. | |
1146 | * old_pthread_cond_wait.c: New file. | |
1147 | * pthreadP.h: Add prototypes for the compatibility interfaces. | |
1148 | ||
1149 | * pthread_cond_destroy.c: Don't include <errno.h>. | |
1150 | ||
fd8979e4 UD |
1151 | 2003-01-01 Ulrich Drepper <drepper@redhat.com> |
1152 | ||
1153 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S: Avoid | |
1154 | unnecessary zero offset when addressing MUTEX. | |
1155 | ||
6d6ee629 UD |
1156 | 2002-12-31 Ulrich Drepper <drepper@redhat.com> |
1157 | ||
1158 | * sysdeps/unix/sysv/linux/fork.h: Add libc_hidden_proto for | |
1159 | __register_atfork. | |
1160 | * sysdeps/unix/sysv/linux/register-atfork.c: Add libc_hidden_def | |
1161 | for __register_atfork. | |
1162 | ||
a4baf360 UD |
1163 | 2002-12-31 Jakub Jelinek <jakub@redhat.com> |
1164 | ||
1165 | * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Use __ASSEMBLER__ | |
1166 | instead of ASSEMBLER test macro. | |
1167 | ||
1168 | * sysdeps/unix/sysv/linux/allocrtsig.c (__libc_current_sigrtmin, | |
1169 | __libc_current_sigrtmax): Add libc_hidden_def. | |
1170 | ||
1171 | * sysdeps/pthread/list.h: Remove assert.h include. | |
1172 | ||
e9395a94 UD |
1173 | 2002-12-31 Ulrich Drepper <drepper@redhat.com> |
1174 | ||
1175 | * sysdeps/pthread/pt-initfini.c (call_initialize_minimal): Use | |
1176 | __pthread_initialize_minimal_internal not | |
1177 | __pthread_initialize_minimal. | |
1178 | ||
89d6e444 UD |
1179 | 2002-12-30 Ulrich Drepper <drepper@redhat.com> |
1180 | ||
416d2de6 UD |
1181 | * sysdeps/pthread/pt-initfini.c (call_initialize_minimal): Mark |
1182 | __pthread_initialize_minimal as hidden. | |
1183 | ||
89d6e444 UD |
1184 | * init.c (__pthread_initialize_minimal_internal): Don't mark as |
1185 | constructor. | |
1186 | ||
1187 | 2002-12-31 Jakub Jelinek <jakub@redhat.com> | |
1188 | ||
1189 | * Makefile ($(inst_libdir)/libpthread.so): Depend on | |
1190 | $(common-objpfx)format.lds, include that into the output script. | |
1191 | Fix comment. | |
1192 | (extra-B-pthread.so): Change linuxthreads/ into nptl/. | |
1193 | ||
8cac677c UD |
1194 | 2002-12-28 Andreas Jaeger <aj@suse.de> |
1195 | ||
1196 | * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Adjust for | |
1197 | nsec resolution changes. | |
1198 | (xstat64_conv): Likewise. | |
1199 | (xstat32_conv): Likewise. | |
1200 | * sysdeps/unix/sysv/linux/kernel_stat.h: Add nsec resolution for | |
1201 | struct kernel_stat. | |
1202 | * sysdeps/unix/sysv/linux/bits/stat.h: Add nsec resolution for | |
1203 | structs stat and stat64. | |
1204 | * time/time.h (__timespec_defined): Define for __USE_MISC. | |
89d6e444 | 1205 | * io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct stat. |
8cac677c | 1206 | |
49e9f864 UD |
1207 | 2002-12-30 Jakub Jelinek <jakub@redhat.com> |
1208 | ||
1209 | * forward.c (FORWARD2): Renamed from FORWARD3. Remove unused export | |
1210 | argument. | |
1211 | (pthread_attr_init_2_0, pthread_attr_init_2_1): Use FORWARD macro. | |
1212 | (pthread_exit): Use strong_alias to avoid warnings. | |
1213 | * pthreadP.h (struct pthread_functions): Rename ptr_pthread_exit | |
1214 | and ptr_pthread_attr_init_2_* to ptr___pthread_exit and | |
1215 | ptr___pthread_attr_init_2_*. | |
1216 | * init.c (pthread_functions): Adjust. | |
1217 | ||
bab09b26 UD |
1218 | 2002-12-29 Ulrich Drepper <drepper@redhat.com> |
1219 | ||
598d7a42 UD |
1220 | * forward.c: Make all functions available by default again. It |
1221 | caused too much trouble. | |
1222 | ||
bab09b26 UD |
1223 | * pt-siglongjmp.c: Removed. |
1224 | ||
3b7ed871 UD |
1225 | 2002-12-28 Jakub Jelinek <jakub@redhat.com> |
1226 | ||
1227 | * sysdeps/i386/tls.h: Include tcb-offsets.h in assembler. | |
1228 | (SYSINFO_OFFSET, MULTIPLE_THREADS_OFFSET): Remove. | |
1229 | * sysdeps/i386/Makefile: New file. | |
1230 | * sysdeps/i386/tcb-offsets.sym: New file. | |
1231 | * sysdeps/pthread/tcb-offsets.h: New file. | |
1232 | * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init): | |
1233 | Remove MULTIPLE_THREADS_OFFSET and SYSINFO_OFFSET checks. | |
1234 | ||
1235 | * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_PRIVATE): Move | |
1236 | __register_atfork... | |
1237 | (GLIBC_2.3.2): ...here. | |
1238 | ||
1239 | 2002-12-28 Ulrich Drepper <drepper@redhat.com> | |
1240 | ||
1241 | * sysdeps/pthread/pthread.h: Mark pthread_attr_getstackaddr and | |
1242 | pthread_attr_setstackaddr with __attribute_deprecated__. | |
1243 | ||
270d9d47 UD |
1244 | 2002-12-27 Jakub Jelinek <jakub@redhat.com> |
1245 | ||
1246 | * pt-system.c (system): Remove cancellation handling. | |
1247 | * tst-cancel-wrappers.sh: Allow pt-system.o* to not use the | |
1248 | cancellation routines. | |
1249 | ||
131fd126 UD |
1250 | 2002-12-28 Ulrich Drepper <drepper@redhat.com> |
1251 | ||
afb2e954 UD |
1252 | * descr.h: Include <dl-sysdep.h>. |
1253 | (struct pthread): Move header.data.list to the back of the struct. | |
131fd126 UD |
1254 | * sysdeps/i386/tls.h (tcbhead_t): Move list to the back of the struct. |
1255 | (MULTIPLE_THREADS_OFFSET): Adjust offset. | |
1256 | (SYSINFO_OFFSEET): Likewise. | |
1257 | ||
1258 | 2002-12-27 Jakub Jelinek <jakub@redhat.com> | |
1259 | ||
1260 | * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h (USE_DL_SYSINFO): | |
1261 | Define. | |
1262 | (DL_SYSINFO_DEFAULT): Cast to uintptr_t to avoid warnings. | |
1263 | * sysdeps/unix/sysv/linux/i386/dl-sysdep.h (NEED_DL_SYSINFO, | |
1264 | DL_SYSINFO_DEFAULT, DL_SYSINFO_IMPLEMENTATION): Define. | |
1265 | (USE_DL_SYSINFO): Undef. | |
1266 | ||
1267 | 2002-12-22 Jakub Jelinek <jakub@redhat.com> | |
1268 | ||
1269 | * Makefile (tests-reverse): Use $(objpfx)../libc.so instead of | |
1270 | $(common-objpfx)libc.so. | |
1271 | * tst-cancel4.c (tf_write, tf_writev): Increase buf sizes so that | |
1272 | it is bigger than pipe buffer size even on arches with bigger | |
1273 | page size. | |
1274 | (tf_usleep): Cast usleep argument to useconds_t to avoid warnings. | |
1275 | ||
a218c9cf UD |
1276 | 2002-12-25 Ulrich Drepper <drepper@redhat.com> |
1277 | ||
1278 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S: Implement | |
1279 | correct errno access for case that USE___THREAD is not defined. | |
1280 | ||
015a2dc9 UD |
1281 | 2002-12-24 Ulrich Drepper <drepper@redhat.com> |
1282 | ||
1283 | * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Add missing #endif. | |
1284 | Patch by Marijn Ros <marijn@mad.scientist.com>. | |
1285 | ||
5220f9ac RM |
1286 | 2002-12-22 Roland McGrath <roland@redhat.com> |
1287 | ||
1288 | * Makefile (omit-deps): Add $(unix-syscalls:%=ptw-%). | |
1289 | ||
1561bf63 UD |
1290 | 2002-12-20 Ulrich Drepper <drepper@redhat.com> |
1291 | ||
1292 | * sysdeps/pthread/bits/stdio-lock.h (_IO_lock_inexpensive): Define. | |
1293 | ||
3325198e UD |
1294 | 2002-12-19 Ulrich Drepper <drepper@redhat.com> |
1295 | ||
057c823f UD |
1296 | * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Don't define |
1297 | NEED_DL_SYSINFO since no processor < i686 had the sysenter opcode. | |
1298 | * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: New file. | |
1299 | ||
097eca29 UD |
1300 | * sysdeps/unix/sysv/linux/i386/pthread_once.S: Use ENTER_KERNEL instead |
1301 | of int $0x80. | |
1302 | * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Likewise. | |
1303 | * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S: Likewise. | |
1304 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S: Likewise. | |
1305 | * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise. | |
1306 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Likewise. | |
1307 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S: Likewise. | |
1308 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S: Likewise. | |
1309 | * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Likewise. | |
1310 | ||
1311 | * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Add support for using | |
1312 | sysenter. | |
1313 | * sysdeps/unix/sysv/linux/i386/lowlevelsem.h: Likewise. | |
1314 | ||
1315 | * sysdeps/i386/tls.h: Unconditionally include <dl-sysdep.h>. | |
1316 | ||
5f5843e3 UD |
1317 | * allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]: Set sysinfo |
1318 | in new TCB. | |
1319 | * sysdeps/unix/sysv/linux/i386/createthread.c (create_thread): Check | |
1320 | that sysinfo is properly initialized. | |
1321 | * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Define RTLD_PRIVATE_ERRNO | |
1322 | to 1 only for ld.so. | |
1323 | ||
3325198e UD |
1324 | * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Define |
1325 | RTLD_CORRECT_DYNAMIC_WEAK. | |
1326 | ||
74e8f2dc UD |
1327 | 2002-12-19 Jakub Jelinek <jakub@redhat.com> |
1328 | ||
1329 | * forward.c (pthread_attr_init_2_0, pthread_attr_init_2_1): | |
1330 | Use return 0 as 6th argument to FORWARD4. | |
1331 | * pthread_equal.c: Include pthreadP.h instead of pthread.h. | |
1332 | ||
df45b31e UD |
1333 | 2002-12-18 Ulrich Drepper <drepper@redhat.com> |
1334 | ||
1335 | * descr.h (struct pthread) [NEED_DL_SYSINFO]: Add sysinfo member. | |
1336 | * sysdeps/i386/tls.h (tcbhead_t): Add sysinfo member. | |
1337 | Define SYSINFO_OFFSEET if NEED_DL_SYSINFO is defined. | |
1338 | (INIT_SYSINFO): New #define. | |
1339 | (TLS_TP_INIT): Use INIT_SYSINFO. | |
1340 | * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init): | |
1341 | At test to make sure SYSINFO_OFFSET value is correct. | |
1342 | * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: New file. | |
1343 | ||
3d539579 UD |
1344 | 2002-12-18 Jakub Jelinek <jakub@redhat.com> |
1345 | ||
1346 | * sysdeps/pthread/flockfile.c (flockfile): Change into weak alias. | |
1347 | * sysdeps/unix/sysv/linux/raise.c (gsignal): Add weak alias to raise. | |
1348 | * Versions [libc: GLIBC_2.0]: Add pthread_attr_init. | |
1349 | [libpthread: GLIBC_2.1]: Remove __pthread_rwlock_init, | |
1350 | __pthread_rwlock_destroy, __pthread_rwlock_rdlock, | |
1351 | __pthread_rwlock_wrlock, __pthread_rwlock_unlock, | |
1352 | __pthread_rwlock_tryrdlock and __pthread_rwlock_trywrlock. | |
1353 | ||
d7913e0e UD |
1354 | 2002-12-18 Ulrich Drepper <drepper@redhat.com> |
1355 | ||
f051627f UD |
1356 | * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Use ENTER_KERNEL |
1357 | macro instead of using int $0x80 directly. | |
1358 | ||
d7913e0e UD |
1359 | * sysdeps/pthread/bits/stdio-lock.h: New file. |
1360 | * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S: New file. | |
1361 | * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevelmutex.S: New file. | |
1362 | * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevelmutex.S: New file. | |
1363 | * Makefile (routines): Add libc-lowlevelmutex. | |
1364 | ||
1365 | * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Remove | |
1366 | __i686.get_pc_thunk.dx. | |
1367 | ||
f077a4a9 UD |
1368 | 2002-12-17 Jakub Jelinek <jakub@redhat.com> |
1369 | ||
1370 | * Makefile (libpthread-shared-only-routines): Add pt-allocrtsig. | |
1371 | (tests): Depend on $(objpfx)tst-cancel-wrappers.out. | |
1372 | ($(objpfx)tst-cancel-wrappers.out): New rule. | |
1373 | * tst-cancel-wrappers.sh: New test. | |
1374 | * tst-locale1.c: Include signal.h. | |
1375 | (uselocale): Test static linking of __libc_current_sigrt*. | |
1376 | ||
1377 | 2002-12-17 Ulrich Drepper <drepper@redhat.com> | |
1378 | ||
1379 | * Makefile (tests): Add tst-cancel6. | |
1380 | * tst-cancel6.c: New file | |
1381 | ||
bd499a3b UD |
1382 | 2002-12-17 Jakub Jelinek <jakub@redhat.com> |
1383 | ||
1384 | * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (SINGLE_THREAD_P): | |
1385 | Define meaningfully for assembler as well. | |
1386 | * pthreadP.h (struct pthread_functions): Remove | |
1387 | ptr_pthread_attr_init field. Add ptr_pthread_attr_init_2_0 | |
1388 | and ptr_pthread_attr_init_2_1 fields. | |
1389 | * init.c (pthread_functions): Initialize ptr_pthread_attr_init_2_0 | |
1390 | and ptr_pthread_attr_init_2_1 instead of ptr_pthread_attr_init. | |
1391 | * forward.c (FORWARD4): Renamed from FORWARD3. Add export argument. | |
1392 | (FORWARD3): Define using FORWARD4. | |
1393 | (pthread_attr_init): Provide both @GLIBC_2.0 and @@GLIBC_2.1 | |
1394 | versions. | |
1395 | * pt-system.c: Remove duplicate stdlib.h include. | |
1396 | ||
0a1063f4 UD |
1397 | 2002-12-16 Ulrich Drepper <drepper@redhat.com> |
1398 | ||
87d60668 UD |
1399 | * sem_init.c: Define sem_init@GLIBC_2.0. |
1400 | * sem_destroy.c: Define sem_destroy@GLIBC_2.0. | |
1401 | * sem_getvalue.c: Define sem_getvalue@GLIBC_2.0. | |
1402 | ||
0a1063f4 UD |
1403 | * flockfile.c: Moved to... |
1404 | * sysdeps/pthread/flockfile.c: ...here. New file. | |
1405 | * funlockfile.c: Moved to... | |
1406 | * sysdeps/pthread/funlockfile.c: ...here. New file. | |
1407 | * ftrylockfile.c: Moved to... | |
1408 | * sysdeps/pthread/ftrylockfile.c: ...here. New file. | |
1409 | ||
9634cf9d UD |
1410 | 2002-12-16 Jakub Jelinek <jakub@redhat.com> |
1411 | ||
1412 | * libc-cancellation.c: Guard both function with | |
1413 | #if !defined NOT_IN_libc. | |
1414 | * Makefile (libpthread-routines): Use ptw-, not pt- prefix for the | |
1415 | automatically provided pthread wrappers. | |
1416 | * pthreadP.h (LIBC_CANCEL_ASYNC, LIBC_CANCEL_RESET): Define to | |
1417 | CANCEL_* if IS_IN_libpthread and to dummy versions if not in libc | |
1418 | nor in libpthread. | |
1419 | * pt-open.c: Removed. | |
1420 | * pt-fcntl.c: Removed. | |
1421 | * pt-fsync.c: Removed. | |
1422 | * pt-lseek.c: Removed. | |
1423 | * pt-msgrcv.c: Removed. | |
1424 | * pt-msgsnd.c: Removed. | |
1425 | * pt-msync.c: Removed. | |
1426 | * pt-nanosleep.c: Removed. | |
1427 | * pt-open64.c: Removed. | |
1428 | * pt-pause.c: Removed. | |
1429 | * pt-pread.c: Removed. | |
1430 | * pt-pread64.c: Removed. | |
1431 | * pt-pwrite.c: Removed. | |
1432 | * pt-pwrite64.c: Removed. | |
1433 | * pt-read.c: Removed. | |
1434 | * pt-recv.c: Removed. | |
1435 | * pt-recvfrom.c: Removed. | |
1436 | * pt-recvmsg.c: Removed. | |
1437 | * pt-send.c: Removed. | |
1438 | * pt-sendto.c: Removed. | |
1439 | * pt-sigtimedwait.c: Removed. | |
1440 | * pt-sigwait.c: Removed. | |
1441 | * pt-wait.c: Removed. | |
1442 | * pt-waitpid.c: Removed. | |
1443 | * pt-write.c: Removed. | |
1444 | * pt-accept.c: Removed. | |
1445 | * pt-close.c: Removed. | |
1446 | * pt-connect.c: Removed. | |
1447 | * pt-lseek64.c: Removed. | |
1448 | * pt-sendmsg.c: Removed. | |
1449 | * pt-tcdrain.c: Removed. | |
1450 | ||
6ee8d334 UD |
1451 | 2002-12-15 Ulrich Drepper <drepper@redhat.com> |
1452 | ||
81fa9371 UD |
1453 | * init.c (__pthread_initialize_minimal_internal): Renamed from |
1454 | __pthread_initialize_minimal. Make old name an alias. This | |
1455 | converts a normal relocation into a relative relocation. | |
1456 | ||
f3015aa5 UD |
1457 | * pt-fcntl.c (__fcntl): Use fcntl64 syscall, not fcntl. |
1458 | ||
4cbc1950 UD |
1459 | * Versions [libpthread: GLIBC_2.3.2]: Remove creat, poll, pselect, |
1460 | readv, select, sigpause, sigsuspend, sigwaitinfo, waitid, writev. | |
1461 | * Makefile (libpthread-routines): Remove pt-creat, pt-poll, | |
1462 | pt-pselect, pt-readv, pt-select, pt-sigpause, pt-sigsuspend, | |
1463 | pt-sigwaitinfo, pt-waitid, and pt-writev. | |
1464 | * pt-creat.c: Removed. | |
1465 | * pt-poll.c: Removed. | |
1466 | * pt-pselect.c: Removed. | |
1467 | * pt-readv.c: Removed. | |
1468 | * pt-select.c: Removed. | |
1469 | * pt-sigpause.c: Removed. | |
1470 | * pt-sigsuspend.c: Removed. | |
1471 | * pt-sigwaitinfo.c: Removed. | |
1472 | * pt-waitid.c: Removed. | |
1473 | * pt-writev.c: Removed. | |
1474 | ||
8454830b UD |
1475 | * init.c (pthread_functions): New variable. |
1476 | (__pthread_initialize_minimal): Pass pointer to pthread_functions | |
1477 | (or NULL) to __libc_pthread_init. | |
1478 | * forward.c: Rewrite to use __libc:pthread_functions array to get | |
1479 | function addresses. | |
1480 | * sysdeps/unix/sysv/linux/fork.h: Remove __libc_pthread_init | |
1481 | prototype. | |
1482 | * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init): | |
1483 | Take new parameter. Copy content of variable pointed to by it | |
1484 | to __libc_pthread_init. | |
1485 | ||
1486 | * pthreadP.h (struct pthread_functions): New type. | |
1487 | (__libc_pthread_init): Declare. | |
1488 | ||
1489 | * pthread_attr_destroy.c: Add namespace protected alias. | |
1490 | * pthread_attr_getdetachstate.c: Likewise. | |
1491 | * pthread_attr_getinheritsched.c: Likewise. | |
1492 | * pthread_attr_getschedparam.c: Likewise. | |
1493 | * pthread_attr_getschedpolicy.c: Likewise. | |
1494 | * pthread_attr_getscope.c: Likewise. | |
1495 | * pthread_attr_setdetachstate.c: Likewise. | |
1496 | * pthread_attr_setinheritsched.c: Likewise. | |
1497 | * pthread_attr_setschedparam.c: Likewise. | |
1498 | * pthread_attr_setschedpolicy.c: Likewise. | |
1499 | * pthread_attr_setscope.c: Likewise. | |
1500 | * pthread_cond_broadcast.c: Likewise. | |
1501 | * pthread_cond_destroy.c: Likewise. | |
1502 | * pthread_cond_init.c: Likewise. | |
1503 | * pthread_cond_signal.c: Likewise. | |
1504 | * pthread_cond_wait.c: Likewise. | |
1505 | * pthread_condattr_destroy.c: Likewise. | |
1506 | * pthread_condattr_init.c: Likewise. | |
1507 | * pthread_equal.c: Likewise. | |
1508 | * pthread_exit.c: Likewise. | |
1509 | * pthread_getschedparam.c: Likewise. | |
1510 | * pthread_self.c: Likewise. | |
1511 | * pthread_setcancelstate.c: Likewise. | |
1512 | * pthread_setschedparam.c: Likewise. | |
1513 | * pthread_mutex_destroy.c: Likewise. | |
1514 | * pthread_mutex_init.c: Likewise. | |
1515 | * pthreadP.h: Add prototypes for the aliases. | |
1516 | ||
0d5f4929 UD |
1517 | * sysdeps/unix/sysv/linux/i386/createthread.c (create_thread): Set |
1518 | multiple_threads member in correct TCB to 1. | |
1519 | ||
6ee8d334 UD |
1520 | * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Define |
1521 | SINGLE_THREAD_P. If in libc or libpthread examine multiple_thread | |
1522 | member of thread decriptor, otherwise return unconditionally 1. | |
1523 | ||
2fb6444d UD |
1524 | 2002-12-14 Ulrich Drepper <drepper@redhat.com> |
1525 | ||
1526 | * sysdeps/unix/sysv/linux/i386/pt-socket.S: Changes folded into the | |
1527 | regular Linux version. Remove file. | |
1528 | * sysdeps/unix/sysv/linux/connect.S: Likewise. Remove file. | |
1529 | * sysdeps/unix/sysv/linux/llseek.c: Likewise. Remove file. | |
1530 | * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. Remove file. | |
1531 | * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. Remove file. | |
1532 | * sysdeps/unix/sysv/linux/open64.c: Likewise. Remove file. | |
1533 | * sysdeps/unix/sysv/linux/poll.c: Likewise. Remove file. | |
1534 | * sysdeps/unix/sysv/linux/pread.c: Likewise. Remove file. | |
1535 | * sysdeps/unix/sysv/linux/pread64.c: Likewise. Remove file. | |
1536 | * sysdeps/unix/sysv/linux/pselect.c: Likewise. Remove file. | |
1537 | * sysdeps/unix/sysv/linux/pwrite.c: Likewise. Remove file. | |
1538 | * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. Remove file. | |
1539 | * sysdeps/unix/sysv/linux/readv.c: Likewise. Remove file. | |
1540 | * sysdeps/unix/sysv/linux/recv.S: Likewise. Remove file. | |
1541 | * sysdeps/unix/sysv/linux/recvfrom.S: Likewise. Remove file. | |
1542 | * sysdeps/unix/sysv/linux/recvmsg.S: Likewise. Remove file. | |
1543 | * sysdeps/unix/sysv/linux/send.S: Likewise. Remove file. | |
1544 | * sysdeps/unix/sysv/linux/sendmsg.S: Likewise. Remove file. | |
1545 | * sysdeps/unix/sysv/linux/sendto.S: Likewise. Remove file. | |
1546 | * sysdeps/unix/sysv/linux/sigpause.c: Likewise. Remove file. | |
1547 | * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. Remove file. | |
1548 | * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. Remove file. | |
1549 | * sysdeps/unix/sysv/linux/sigwait.c: Likewise. Remove file. | |
1550 | * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. Remove file. | |
1551 | * sysdeps/unix/sysv/linux/system.c: Likewise. Remove file. | |
1552 | * sysdeps/unix/sysv/linux/tcdrain.c: Likewise. Remove file. | |
1553 | * sysdeps/unix/sysv/linux/wait.c: Likewise. Remove file. | |
1554 | * sysdeps/unix/sysv/linux/waitid.c: Likewise. Remove file. | |
1555 | * sysdeps/unix/sysv/linux/waitpid.c: Likewise. Remove file. | |
1556 | * sysdeps/unix/sysv/linux/writev.c: Likewise. Remove file. | |
1557 | * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. Remove file. | |
1558 | ||
86b2dc40 UD |
1559 | 2002-12-14 Jakub Jelinek <jakub@redhat.com> |
1560 | ||
1561 | * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: New file. | |
1562 | * sysdeps/unix/sysv/linux/open.c: Removed. | |
1563 | * sysdeps/unix/sysv/linux/fsync.c: Removed. | |
1564 | * sysdeps/unix/sysv/linux/lseek.c: Removed. | |
1565 | * sysdeps/unix/sysv/linux/msync.c: Removed. | |
1566 | * sysdeps/unix/sysv/linux/read.c: Removed. | |
1567 | * sysdeps/unix/sysv/linux/close.c: Removed. | |
1568 | * sysdeps/unix/sysv/linux/creat.c: Removed. | |
1569 | * sysdeps/unix/sysv/linux/nanosleep.c: Removed. | |
1570 | * sysdeps/unix/sysv/linux/pause.c: Removed. | |
1571 | * sysdeps/unix/sysv/linux/select.c: Removed. | |
1572 | * sysdeps/unix/sysv/linux/write.c: Removed. | |
1573 | ||
9d263d72 UD |
1574 | 2002-12-14 Ulrich Drepper <drepper@redhat.com> |
1575 | ||
1576 | * sysdeps/unix/sysv/linux/i386/pt-socket.S: Check multiple_threads | |
1577 | element in TCB to see whether locking is needed. | |
1578 | ||
1579 | * sysdeps/unix/sysv/linux/libc_pthread_init.c: Check that | |
1580 | MULTIPLE_THREADS_OFFSET value is correct. | |
1581 | ||
1582 | * sysdeps/unix/sysv/linux/close.c: New file. | |
1583 | * sysdeps/unix/sysv/linux/connect.S: New file. | |
1584 | * sysdeps/unix/sysv/linux/creat.c: New file. | |
1585 | * sysdeps/unix/sysv/linux/fsync.c: New file. | |
1586 | * sysdeps/unix/sysv/linux/llseek.c: New file. | |
1587 | * sysdeps/unix/sysv/linux/lseek.c: New file. | |
1588 | * sysdeps/unix/sysv/linux/msgrcv.c: New file. | |
1589 | * sysdeps/unix/sysv/linux/msgsnd.c: New file. | |
1590 | * sysdeps/unix/sysv/linux/msync.c: New file. | |
1591 | * sysdeps/unix/sysv/linux/nanosleep.c: New file. | |
1592 | * sysdeps/unix/sysv/linux/open.c: New file. | |
1593 | * sysdeps/unix/sysv/linux/open64.c: New file. | |
1594 | * sysdeps/unix/sysv/linux/pause.c: New file. | |
1595 | * sysdeps/unix/sysv/linux/poll.c: New file. | |
1596 | * sysdeps/unix/sysv/linux/pread.c: New file. | |
1597 | * sysdeps/unix/sysv/linux/pread64.c: New file. | |
1598 | * sysdeps/unix/sysv/linux/pselect.c: New file. | |
1599 | * sysdeps/unix/sysv/linux/pwrite.c: New file. | |
1600 | * sysdeps/unix/sysv/linux/pwrite64.c: New file. | |
1601 | * sysdeps/unix/sysv/linux/readv.c: New file. | |
1602 | * sysdeps/unix/sysv/linux/recv.S: New file. | |
1603 | * sysdeps/unix/sysv/linux/recvfrom.S: New file. | |
1604 | * sysdeps/unix/sysv/linux/recvmsg.S: New file. | |
1605 | * sysdeps/unix/sysv/linux/select.c: New file. | |
1606 | * sysdeps/unix/sysv/linux/send.S: New file. | |
1607 | * sysdeps/unix/sysv/linux/sendmsg.S: New file. | |
1608 | * sysdeps/unix/sysv/linux/sendto.S: New file. | |
1609 | * sysdeps/unix/sysv/linux/sigpause.c: New file. | |
1610 | * sysdeps/unix/sysv/linux/sigsuspend.c: New file. | |
1611 | * sysdeps/unix/sysv/linux/sigtimedwait.c: New file. | |
1612 | * sysdeps/unix/sysv/linux/sigwait.c: New file. | |
1613 | * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file. | |
1614 | * sysdeps/unix/sysv/linux/system.c: New file. | |
1615 | * sysdeps/unix/sysv/linux/tcdrain.c: New file. | |
1616 | * sysdeps/unix/sysv/linux/wait.c: New file. | |
1617 | * sysdeps/unix/sysv/linux/waitid.c: New file. | |
1618 | * sysdeps/unix/sysv/linux/waitpid.c: New file. | |
1619 | * sysdeps/unix/sysv/linux/writev.c: New file. | |
1620 | * sysdeps/unix/sysv/linux/i386/fcntl.c: New file. | |
1621 | ||
1622 | * pt-readv.c: Fix comment. | |
1623 | ||
1624 | 2002-12-14 Jakub Jelinek <jakub@redhat.com> | |
1625 | ||
1626 | * tst-cleanup1.c: Include stdlib.h. | |
1627 | ||
1628 | * tst-cancel5.c: New test. | |
1629 | * Makefile (tests): Add tst-cancel5. | |
1630 | (tst-cancel5): Link against libc.so libpthread.so in that order. | |
1631 | ||
9ae0909b UD |
1632 | 2002-12-13 Ulrich Drepper <drepper@redhat.com> |
1633 | ||
b7bdd9c4 UD |
1634 | * forward.c (test_loaded): Prevent recursive calls. |
1635 | ||
9ae0909b UD |
1636 | * Makefile (routines): Add libc-cancellation. |
1637 | * libc-cancellation.c: New file. | |
1638 | * descr.h (struct pthread): Add multiple_threads field. | |
1639 | * allocatestack.c (allocate_stack): Initialize multiple_header field of | |
1640 | new thread descriptor to 1. | |
1641 | * sysdeps/unix/sysv/linux/i386/createthread.c (create_thread): | |
1642 | Initialize multiple_thread field after successful thread creation. | |
1643 | * cancellation.c (__do_cancel): Move to pthreadP.h. | |
1644 | (__pthread_enable_asynccancel): Remove parameter from __do_cancel call. | |
1645 | (__pthread_disable_asynccancel): Add internal_function attribute. | |
1646 | * init.c (sigcancel_handler): Remove parameter from __do_cancel call. | |
1647 | * pthread_setcancelstate.c: Likewise. | |
1648 | * pthread_setcanceltype.c: Likewise. | |
1649 | * pthread_exit.c: Likewise. | |
1650 | * pthreadP.h (CANCELLATION_P): Likewise. | |
1651 | (__do_cancel): Define as static inline. | |
1652 | (LIBC_CANCEL_ASYNC, LIBC_CANCEL_RESET): New #defines. | |
1653 | (__libc_enable_asynccancel, __libc_disable_asynccancel): New | |
1654 | declarations. | |
1655 | * sysdeps/i386/tls.h (tcbhead_t): Add list and multiple_threads | |
1656 | fields. Define MULTIPLE_THREADS_OFFSET. | |
1657 | * sysdeps/pthread/bits/libc-lock.h: Remove __libc_locking_needed | |
1658 | declaration. | |
1659 | * sysdeps/unix/sysv/linux/accept.S: New file. | |
1660 | * sysdeps/unix/sysv/linux/read.c: New file. | |
1661 | * sysdeps/unix/sysv/linux/write.c: New file. | |
1662 | * sysdeps/unix/sysv/linux/i386/pt-socket.S: New file. | |
1663 | * sysdeps/unix/sysv/linux/libc_pthread_init.c: Remove definition and | |
1664 | initialization of __libc_locking_needed. | |
1665 | * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Don't use | |
1666 | __libc_locking_needed, use multiple_threads field in TCB. | |
1667 | * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Likewise. | |
1668 | ||
22f20674 UD |
1669 | 2002-12-12 Ulrich Drepper <drepper@redhat.com> |
1670 | ||
2ad2e1e7 UD |
1671 | * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Use i486 |
1672 | version. | |
1673 | * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Likewise. | |
1674 | ||
22f20674 UD |
1675 | * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Correct |
1676 | access to __libc_locking_needed for PIC. | |
1677 | ||
aa80bf86 UD |
1678 | 2002-12-12 Jakub Jelinek <jakub@redhat.com> |
1679 | ||
1680 | * sysdeps/pthread/bits/libc-lock.h (__libc_locking_needed): Only | |
1681 | declare for libc.so. | |
1682 | (__libc_lock_init, __libc_lock_init_recursive): Change into comma | |
1683 | expression. | |
1684 | (__libc_lock_lock): Put into statement expression. | |
1685 | (__libc_lock_unlock): Remove trailing semicolon. | |
1686 | * sysdeps/unix/sysv/linux/fork.h (__libc_pthread_init): Fix typo. | |
1687 | ||
24021373 RM |
1688 | 2002-12-12 Roland McGrath <roland@redhat.com> |
1689 | ||
1690 | * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use asm operand with | |
1691 | "m" constraint to refer to __libc_locking_needed. Declare it here. | |
1692 | ||
14e7aece UD |
1693 | 2002-12-12 Ulrich Drepper <drepper@redhat.com> |
1694 | ||
1695 | * sysdeps/unix/sysv/linux/fork-gen.c: Renamed to... | |
1696 | * sysdeps/unix/sysv/linux/libc_pthread_init.c: ...this. | |
1697 | Initialize __libc_locking_needed. | |
1698 | * init.c (__pthread_initialize_minimal): Call __libc_pthread_init | |
1699 | instead of __register_pthread_fork_handler. | |
1700 | * sysdeps/pthread/bits/libc-lock.h: Declare __libc_locking_needed. | |
1701 | * sysdeps/unix/sysv/linux/Makefile (sysdep_routimes): Replace | |
1702 | fork-gen with libc_pthread_init. | |
1703 | * sysdeps/unix/sysv/linux/Versions: Use __libc_pthread_init instead | |
1704 | of __register_pthread_fork_handler. | |
1705 | * sysdeps/unix/sysv/linux/fork.h: Declare __libc_pthread_init instead | |
1706 | of __register_pthread_fork_handler. | |
1707 | * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use | |
1708 | __libc_locking_needed to determine whether lock prefix can be avoided. | |
1709 | * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Likewise. | |
1710 | ||
85631c8e UD |
1711 | 2002-12-11 Ulrich Drepper <drepper@redhat.com> |
1712 | ||
da63009e UD |
1713 | * Makefile (tests): Add tst-cleanup1. |
1714 | * tst-cleanup1.c: New file. | |
1715 | * cancellation.c (__cleanup_thread): Removed. | |
1716 | (__do_cancel): Remove call to __cleanup_thread. | |
1717 | * pthreadP.h: Remove __cleanup_thread prorotype. | |
1718 | ||
000160a2 UD |
1719 | * sysdeps/pthread/bits/libc-lock.h (__libc_cleanup_region_start): |
1720 | Remember function and argument even if cancellation handler | |
1721 | function is not available. | |
1722 | (__libc_cleanup_region_end): Execute registered function directly if | |
1723 | pthread functions are not available. | |
1724 | (__libc_cleanup_end): Likewise. | |
1725 | ||
85631c8e UD |
1726 | * init.c (__pthread_initialize_minimal): Fix initialization in |
1727 | static lib by preventing gcc from being too clever. | |
1728 | ||
dce8f2b6 UD |
1729 | 2002-12-10 Ulrich Drepper <drepper@redhat.com> |
1730 | ||
34a075be UD |
1731 | * init.c (__pthread_initialize_minimal): Remove unneccesary |
1732 | sigaddset call. | |
1733 | ||
dce8f2b6 UD |
1734 | * Makefile (tests): We can run tst-locale2 now. |
1735 | ||
e5e45b53 UD |
1736 | 2002-12-09 Ulrich Drepper <drepper@redhat.com> |
1737 | ||
1738 | * Versions: Remove duplicated sigwait entry. | |
1739 | ||
bdb04f92 UD |
1740 | 2002-12-08 Ulrich Drepper <drepper@redhat.com> |
1741 | ||
1e506629 UD |
1742 | * pthreadP.h: Enable pthread_cleanup_{push,pop} optimizations only |
1743 | inside libpthread. | |
1744 | ||
a3957dd5 UD |
1745 | * pt-fcntl.c (__fcntl): Initialize oldtype to avoid warning. |
1746 | ||
bdb04f92 UD |
1747 | * pthreadP.h: Declare __pthread_enable_asynccancel and |
1748 | __pthread_disable_asynccancel. | |
1749 | (CANCEL_ASYNC): Use __pthread_enable_asynccancel. | |
1750 | (CANCEL_RESET): Use __pthread_disable_asynccancel. | |
1751 | * cancellation.c (__pthread_enable_asynccancel): New function. | |
1752 | (__pthread_disable_asynccancel): New function. | |
1753 | * pt-accept.c: Adjust for CANCEL_ASYNC and CANCEL_RESET change. | |
1754 | * pt-close.c: Likewise. | |
1755 | * pt-connect.c: Likewise. | |
1756 | * pt-creat.c: Likewise. | |
1757 | * pt-fcntl.c: Likewise. | |
1758 | * pt-fsync.c: Likewise. | |
1759 | * pt-lseek.c: Likewise. | |
1760 | * pt-lseek64.c: Likewise. | |
1761 | * pt-msgrcv.c: Likewise. | |
1762 | * pt-msgsnd.c: Likewise. | |
1763 | * pt-msync.c: Likewise. | |
1764 | * pt-nanosleep.c: Likewise. | |
1765 | * pt-open.c: Likewise. | |
1766 | * pt-open64.c: Likewise. | |
1767 | * pt-pause.c: Likewise. | |
1768 | * pt-poll.c: Likewise. | |
1769 | * pt-pread.c: Likewise. | |
1770 | * pt-pread64.c: Likewise. | |
1771 | * pt-pselect.c: Likewise. | |
1772 | * pt-pwrite.c: Likewise. | |
1773 | * pt-pwrite64.c: Likewise. | |
1774 | * pt-read.c: Likewise. | |
1775 | * pt-readv.c: Likewise. | |
1776 | * pt-recv.c: Likewise. | |
1777 | * pt-recvfrom.c: Likewise. | |
1778 | * pt-recvmsg.c: Likewise. | |
1779 | * pt-select.c: Likewise. | |
1780 | * pt-send.c: Likewise. | |
1781 | * pt-sendmsg.c: Likewise. | |
1782 | * pt-sendto.c: Likewise. | |
1783 | * pt-sigpause.c: Likewise. | |
1784 | * pt-sigsuspend.c: Likewise. | |
1785 | * pt-sigtimedwait.c: Likewise. | |
1786 | * pt-sigwait.c: Likewise. | |
1787 | * pt-sigwaitinfo.c: Likewise. | |
1788 | * pt-system.c: Likewise. | |
1789 | * pt-tcdrain.c: Likewise. | |
1790 | * pt-wait.c: Likewise. | |
1791 | * pt-waitid.c: Likewise. | |
1792 | * pt-waitpid.c: Likewise. | |
1793 | * pt-write.c: Likewise. | |
1794 | * pt-writev.c: Likewise. | |
a3957dd5 UD |
1795 | * pthread_join.c: Likewise. |
1796 | * pthread_timedjoin.c: Likewise. | |
bdb04f92 UD |
1797 | |
1798 | * pt-sigpause.c (sigsuspend): Call __sigsuspend. | |
1799 | (__xpg_sigpause): New function. | |
1800 | * Versions (libpthread:GLIBC_2.3.2): Add __xpg_sigpause. | |
1801 | ||
6ccb3834 UD |
1802 | 2002-12-07 Ulrich Drepper <drepper@redhat.com> |
1803 | ||
09efc3ba UD |
1804 | * Makefile (CFLAGS-ftrylockfile.c): Add -D_IO_MTSAFE_IO. |
1805 | ||
1806 | * cleanup.c: Move declarations of _GI_pthread_cleanup_push and | |
1807 | _GI_pthread_cleanup_pop to pthreadP.h. | |
1808 | ||
1809 | * ftrylockfile.c: Use _IO_lock_trylock instead of | |
1810 | pthread_mutex_trylock. | |
1811 | ||
1812 | * pthreadP.h (CANCEL_ASYNC): Use __pthread_setcanceltype. | |
1813 | (CANCEL_RESET): Likewise. | |
1814 | (__pthread_setcanceltype_): Declare. | |
1815 | (__pthread_mutex_lock_internal): Declare. | |
1816 | (__pthread_mutex_unlock_internal): Declare. | |
1817 | (__pthread_once_internal): Declare. | |
1818 | (pthread_cleanup_push): Redefine using _GI_pthread_cleanup_push. | |
1819 | (pthread_cleanup_pop): Redefine using _GI_pthread_cleanup_pop. | |
1820 | ||
1821 | * pthread_cond_timedwait.c: Use INTUSE is calls to pthread_mutex_lock | |
1822 | and pthread_mutex_unlock. | |
1823 | * pthread_cond_wait.c: Likewise. | |
1824 | * pthread_mutex_lock.c: Use INTDEF to define alias if needed. | |
1825 | * pthread_mutex_unlock.c: Likewise. | |
1826 | ||
1827 | * pthread_setcanceltype.c: Add additional alias | |
1828 | __pthread_setcanceltype. | |
1829 | ||
1830 | * sem_unlink.c (sem_unlink): Use __pthread_once with INTDEF. | |
1831 | * sem_open.c (sem_open): Likewise. | |
1832 | Use __libc_open, __libc_write, and __libc_close instead of | |
1833 | open, write, and close respectively. | |
1834 | ||
1835 | * sysdeps/pthread/bits/libc-lock.h (__libc_lock_trylock_internal): | |
1836 | Rewrite as statement expression since it must return a value. | |
1837 | ||
1838 | * pthread_cancel.c: Use __pthread_kill instead of pthread_kill. | |
1839 | * sysdeps/unix/sysv/linux/pthread_kill.c: Define additional alias | |
1840 | __pthread_kill. | |
1841 | ||
1842 | * sysdeps/unix/sysv/linux/i386/pthread_once.S: Define additional | |
1843 | alias __pthread_once_internal. | |
1844 | ||
6ccb3834 UD |
1845 | * sysdeps/unix/sysv/linux/raise.c: Use libc_hidden_def for raise. |
1846 | ||
d3c9f895 UD |
1847 | 2002-12-06 Ulrich Drepper <drepper@redhat.com> |
1848 | ||
4614167a UD |
1849 | * Makefile (tests): Add tst-stdio1 and tst-stdio2. |
1850 | * tst-stdio1.c: New file. | |
1851 | * tst-stdio2.c: New file. | |
1852 | ||
a4548cea UD |
1853 | * init.c (__pthread_initialize_minimal): Correct INIT_LIST_HEAD use. |
1854 | ||
d3c9f895 UD |
1855 | * Makefile (tests): Comment out tst-locale2 for now. |
1856 | (CFLAGS-flockfile.c, CFLAGS-funlockfile.c): Define to -D_IO_MTSAFE_IO. | |
1857 | ||
1858 | * sysdeps/unix/sysv/linux/Makefile: Define CFLAGS-fork.c to | |
1859 | -D_IO_MTSAFE_IO. | |
1860 | * sysdeps/unix/sysv/linux/fork.c: Include <bits/stdio-lock.h>. | |
1861 | Use _IO_lock_init instead of explicit assignment. | |
1862 | ||
1863 | * sysdeps/pthread/bits/libc-lock.h: Define __rtld_lock_* macros. | |
1864 | Define __libc_lock_* and __libc_lock_recursive macros with | |
1865 | lowlevellock macros, not pthread mutexes. | |
1866 | ||
1867 | * flockfile.c: Include <bits/stdio-lock.h>. Use _IO_lock_lock instead | |
1868 | of pthread_mutex_lock. | |
1869 | * funlockfile.c: Include <bits/stdio-lock.h>. Use _IO_lock_unlock | |
1870 | instead of pthread_mutex_unlock. | |
1871 | ||
fde89ad0 RM |
1872 | 2002-12-06 Roland McGrath <roland@redhat.com> |
1873 | ||
1874 | * allocatestack.c (__stack_user): Use uninitialized defn. | |
1875 | * init.c (__pthread_initialize_minimal): Initialize it here. | |
1876 | ||
11767d47 RM |
1877 | 2002-12-05 Roland McGrath <roland@redhat.com> |
1878 | ||
fde89ad0 RM |
1879 | * sysdeps/i386/tls.h (TLS_INIT_TP): Make it return zero or an error |
1880 | string. | |
1881 | * sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise. | |
1882 | ||
11767d47 RM |
1883 | * sysdeps/unix/sysv/linux/i386/createthread.c (create_thread): Add |
1884 | missing & here too. | |
1885 | ||
440d8bc2 UD |
1886 | 2002-12-05 Ulrich Drepper <drepper@redhat.com> |
1887 | ||
1888 | * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove | |
1889 | lowlevellock. | |
1890 | * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: New file. | |
1891 | * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: New file. | |
1892 | * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: New file. | |
1893 | * sysdeps/pthread/bits/libc-lock.h: Use lowlevellock implementation | |
1894 | for __libc_lock_* macros. | |
1895 | * Makefile (routines): Add libc-lowlevellock. | |
1896 | ||
1897 | 2002-10-09 Roland McGrath <roland@redhat.com> | |
1898 | ||
1899 | * sysdeps/pthread/bits/libc-lock.h (__libc_maybe_call): New macro. | |
1900 | Under [__PIC__], call the function via the pointer fetched for | |
1901 | comparison rather than a call by name that uses the PLT. | |
1902 | (__libc_lock_init, __libc_rwlock_init, __libc_lock_fini) | |
1903 | (__libc_rwlock_fini, __libc_lock_lock, __libc_rwlock_rdlock) | |
1904 | (__libc_rwlock_wrlock, __libc_lock_trylock, __libc_rwlock_tryrdlock) | |
1905 | (__libc_rwlock_trywrlock, __libc_lock_unlock, __libc_rwlock_unlock) | |
1906 | (__libc_key_create, __libc_getspecific, __libc_setspecific): Use it. | |
1907 | ||
d5ed0118 RM |
1908 | 2002-12-04 Roland McGrath <roland@redhat.com> |
1909 | ||
1910 | * forward.c (pthread_self): Use FORWARD3 macro to correct return type. | |
1911 | ||
1912 | * sysdeps/i386/td_ta_map_lwp2thr.c: Moved from ../nptl_db. | |
1913 | * sysdeps/generic/td_ta_map_lwp2thr.c: New file. | |
1914 | ||
1915 | * pthread_create.c (start_thread): Add missing & on __nptl_last_event. | |
1916 | ||
eaa4099f UD |
1917 | 2002-12-04 Ulrich Drepper <drepper@redhat.com> |
1918 | ||
1919 | * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Make pthread_t | |
1920 | a completely opaque, non-integer type. | |
1921 | * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise. | |
1922 | ||
33b5d0cc UD |
1923 | 2002-12-05 Jakub Jelinek <jakub@redhat.com> |
1924 | ||
1925 | * sysdeps/i386/tls.h: Include stdlib.h. | |
1926 | * sysdeps/x86_64/tls.h: Likewise. | |
1927 | ||
7a5cdb30 UD |
1928 | 2002-12-04 Ulrich Drepper <drepper@redhat.com> |
1929 | ||
c4a6d859 UD |
1930 | * Makefile (tests): Add tst-locale2. |
1931 | (tests-static): Likewise. | |
1932 | * tst-locale2.c: New file. | |
1933 | ||
7a5cdb30 UD |
1934 | * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Mark asms as |
1935 | volatile and add memory clobbers to lock operations. | |
1936 | ||
d82d5d12 UD |
1937 | 2002-12-03 Ulrich Drepper <drepper@redhat.com> |
1938 | ||
69cae3cf UD |
1939 | * sysdeps/i386/i686/bits/atomic.h: Use i486 version. |
1940 | * sysdeps/i386/i486/bits/atomic.h: New file. | |
1941 | * sysdeps/i386/i586/bits/atomic.h: New file. | |
1942 | * sysdeps/i386/i686/pthread_spin_trylock.S: Define HAVE_CMOV and | |
1943 | include i486 version. | |
1944 | * sysdeps/i386/i486/pthread_spin_trylock.S: New file. | |
1945 | * sysdeps/i386/i586/pthread_spin_trylock.S: New file. | |
c97c64de | 1946 | Patch by Marijn Ros <marijn@mad.scientist.com>. |
69cae3cf | 1947 | |
e4044c01 UD |
1948 | * allocatestack.c (get_cached_stack): Don't crash if we first |
1949 | found a stack with a larger size then needed. | |
1950 | Reported by Hui Huang <hui.huang@sun.com>. | |
1951 | ||
d82d5d12 UD |
1952 | * Makefile (tests): Add tst-sysconf. |
1953 | * tst-sysconf.c: New file. | |
1954 | ||
1955 | * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine | |
1956 | PTHREAD_THREADS_MAX. | |
1957 | ||
fa9a4ff0 RM |
1958 | 2002-12-02 Roland McGrath <roland@redhat.com> |
1959 | ||
1960 | * pthreadP.h (__stack_user, __nptl_create_event, __nptl_death_event): | |
1961 | Declare using hidden_proto instead of attribute_hidden, so there are | |
1962 | non-.hidden static symbols for gdb to find. | |
1963 | (__pthread_keys): Likewise. | |
1964 | * events.c (__nptl_create_event, __nptl_death_event): Add hidden_def. | |
1965 | * allocatestack.c (__stack_user): Likewise. | |
1966 | * pthread_create.c (__pthread_keys): Likewise. | |
1967 | (__nptl_threads_events, __nptl_last_event): Make these static instead | |
1968 | of hidden. | |
1969 | * pthread_key_create.c (__pthread_pthread_keys_max, | |
1970 | __pthread_pthread_key_2ndlevel_size): Renamed from __linuxthreads_*. | |
1971 | ||
91949a33 UD |
1972 | 2002-12-02 Ulrich Drepper <drepper@redhat.com> |
1973 | ||
c22b52fa UD |
1974 | * Makefile (tests): Add tst-locale1. If buid-static is yes link |
1975 | statically. | |
1976 | * tst-locale1.c: New file. | |
1977 | ||
beb6aa41 UD |
1978 | * pthread_cond_timedwait.c: Include <stdlib.h>. |
1979 | ||
91949a33 UD |
1980 | * Makefile (tests): Add tst-fork2 and tst-fork3. |
1981 | * tst-fork2.c: New file. | |
1982 | * tst-fork3.c: New file. | |
1983 | ||
654dff90 UD |
1984 | 2002-11-28 Ulrich Drepper <drepper@redhat.com> |
1985 | ||
cb0e76b4 UD |
1986 | * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: New file. |
1987 | ||
1988 | * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define macros which | |
1989 | require it to 200112L. | |
1990 | ||
1991 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S: Use cmov | |
1992 | instruction only if HAVE_CMOV is defined. | |
1993 | * sysdeps/unix/sysv/linux/i386/i686/lowlevelrwlock.S: Define HAVE_CMOV. | |
1994 | ||
975aa229 UD |
1995 | * sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h: New file. |
1996 | ||
654dff90 UD |
1997 | * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: New file. |
1998 | ||
1999 | * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: New file. | |
2000 | ||
2001 | * sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: New file. | |
2002 | ||
a3931336 UD |
2003 | 2002-11-27 Ulrich Drepper <drepper@redhat.com> |
2004 | ||
c10c099c UD |
2005 | * sysdeps/x86_64/bits/atomic.h: New file. |
2006 | ||
2007 | * sysdeps/i386/i686/bits/atomic.h: Fix asm syntax for 8- and | |
2008 | 16-bit operations. | |
2009 | ||
dca99d27 UD |
2010 | * sysdeps/unix/sysv/linux/raise.c (raise): Use INTERNAL_SYSCALL if |
2011 | possible since gettid cannot fail. | |
2012 | ||
f78deea6 UD |
2013 | * sysdeps/x86_64/pthreaddef.h: New file. |
2014 | ||
2015 | * sysdeps/i386/pthreaddef.h (gettid): Removed. | |
2016 | ||
2017 | * sysdeps/x86_64/pthread_spin_init.c: New file. | |
2018 | * sysdeps/x86_64/pthread_spin_lock.c: New file. | |
2019 | * sysdeps/x86_64/pthread_spin_trylock.c: New file. | |
2020 | * sysdeps/x86_64/pthread_spin_unlock.c: New file. | |
2021 | ||
2022 | * sysdeps/i386/i686/pthread_spin_trylock.S (pthread_spin_trylock): | |
2023 | Add missing lock prefix. Minute optimization. | |
2024 | ||
2025 | * tst-spin2.c (main): Also check successful trylock call. | |
2026 | ||
2027 | * sysdeps/pthread/pthread_sigmask.c (pthread_sigmask): Use correct | |
2028 | syscall. Fix typo in case INTERNAL_SYSCALL is not used. | |
2029 | ||
2030 | * sysdeps/i386/pthread_spin_destroy.c: Moved to... | |
2031 | * sysdeps/pthread/pthread_spin_destroy.c: ...here. New file. | |
2032 | ||
2033 | * sysdeps/i386/pthread_sigmask.c: Removed. Use the generic code. | |
2034 | * sysdeps/pthread/pthread_sigmask.c (pthread_sigmask): Return correct | |
2035 | value in case of an error. Add support for INTERNAL_SYSCALL. | |
b54e18eb UD |
2036 | |
2037 | * sysdeps/i386/pthread_sigmask.c (pthread_sigmask): Return correct | |
2038 | value in case of an error. | |
2039 | ||
a3931336 UD |
2040 | * sysdeps/x86_64/tls.h: New file. |
2041 | ||
76a50749 UD |
2042 | 2002-11-26 Ulrich Drepper <drepper@redhat.com> |
2043 | ||
117c452c UD |
2044 | * sysdeps/i386/tls.h (THREAD_GETMEM_NC): Change interface. It now |
2045 | takes the array member name and the index as parameters. | |
2046 | (THREAD_SETMEM_NC): Likewise. | |
2047 | * pthread_getspecific.c: Use new THREAD_GETMEM_NC interface. | |
2048 | * pthread_setspecific.c: Use new THREAD_GETMEM_NC and THREAD_SETMEM_NC | |
2049 | interfaces. | |
2050 | ||
2051 | * sysdeps/i386/tls.h (THREAD_SETMEM): Use size of member element | |
2052 | to decide which code to use. | |
2053 | (THREAD_SETMEM_NC): Likewise. | |
2054 | ||
76a50749 UD |
2055 | * allocatestack.c (queue_stack): Don't remove stack from list here. |
2056 | Do it in the caller. Correct condition to prematurely terminate | |
2057 | loop to free stacks. | |
2058 | (__deallocate_stack): Remove stack from list here. | |
2059 | ||
2060 | 2002-11-26 Ulrich Drepper <drepper@redhat.com> | |
2061 | ||
2062 | * Makefile (tests): Add tst-stack1. | |
2063 | * tst-stack1.c: New file. | |
2064 | ||
2065 | * allocatestack.c (allocate_stack): Initialize the TCB on a user | |
2066 | provided stack. | |
2067 | ||
2068 | * pthread_attr_getstack.c: Return bottom of the thread area. | |
2069 | ||
2070 | 2002-11-25 Ulrich Drepper <drepper@redhat.com> | |
2071 | ||
2072 | * Makefile (libpthread-routines): Add pt-allocrtsig and | |
2073 | pthread_kill_other_threads. | |
2074 | * pt-allocrtsig.c: New file. | |
2075 | * pthread_kill_other_threads.c: New file. | |
2076 | * sysdeps/unix/sysv/linux/allocrtsig.c: Add additional aliases for | |
2077 | all three functions. | |
2078 | * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove | |
2079 | allocrtsig. | |
2080 | * sysdeps/unix/sysv/linux/Versions (libc:GLIBC_PRIVATE): Export | |
2081 | __libc_current_sigrtmin_private, __libc_current_sigrtmax_private, | |
2082 | and __libc_allocate_rtsig_private. | |
2083 | * Versions (libpthread): Export pthread_kill_other_threads_np, | |
2084 | __libc_current_sigrtmin, and __libc_current_sigrtmax. | |
2085 | ||
2086 | 2002-11-24 Ulrich Drepper <drepper@redhat.com> | |
2087 | ||
2088 | * allocatestack.c (allocate_stack): stackaddr in attribute points to | |
2089 | the end of the stack. Adjust computations. | |
2090 | When mprotect call fails dequeue stack and free it. | |
2091 | * pthread_attr_setstack.c: Store top of the stack in stackaddr | |
2092 | attribute. | |
2093 | * pthread_getattr_np.c: Likewise. | |
2094 | ||
2095 | * descr.h (IS_DETACHED): Add some more parenthesis to prevent | |
2096 | surprises. | |
2097 | ||
2098 | 2002-11-23 Ulrich Drepper <drepper@redhat.com> | |
2099 | ||
2100 | * sysdeps/pthread/pthread.h (pthread_self): __THROW must come before | |
2101 | attribute definitions. Patch by Luca Barbieri <ldb@ldb.ods.org>. | |
2102 | ||
2103 | 2002-11-22 Ulrich Drepper <drepper@redhat.com> | |
2104 | ||
2105 | * pthread_getspecific.c: Optimize access to first 2nd-level array. | |
2106 | * pthread_setspecific.c: Likewise. | |
2107 | ||
2108 | 2002-11-21 Ulrich Drepper <drepper@redhat.com> | |
2109 | ||
2110 | * sysdeps/unix/sysv/linux/i386/createthread.c: Remove CLONE_ flags | |
2111 | definitions. Get them from the official place. | |
2112 | * sysdeps/unix/sysv/linux/i386/fork.c: Likewise. | |
2113 | ||
2114 | * sysdeps/unix/sysv/linux/i386/createthread.c: Update CLONE_* flags. | |
2115 | Use new CLONE_ flags in clone() calls. | |
2116 | ||
2117 | * sysdeps/unix/sysv/linux/fork.c: Use ARCH_FORK to actually fork. | |
2118 | * sysdeps/unix/sysv/linux/i386/fork.c: New file. | |
2119 | ||
2120 | * Versions: Add pthread_* functions for libc. | |
2121 | * forward.c: New file. | |
2122 | ||
2123 | * sysdeps/pthread/Makefile (libpthread-sysdeps_routines): Add | |
2124 | errno-loc. | |
2125 | * herrno.c: New file. | |
2126 | * res.c: New file. | |
2127 | ||
2128 | * Makefile (libpthread-routines): Remove sem_post, sem_wait, | |
2129 | sem_trywait, and sem_timedwait. Add herrno and res. | |
2130 | * sem_init.c: Don't initialize lock and waiters members. | |
2131 | * sem_open.c: Likewise. | |
2132 | * sem_post.c: Removed. | |
2133 | * sem_wait.c: Removed. | |
2134 | * sem_trywait.c: Removed. | |
2135 | * sem_timedwait.c: Removed. | |
2136 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S: Complete rewrite. | |
2137 | Includes full implementations of sem_post, sem_wait, sem_trywait, | |
2138 | and sem_timedwait. | |
2139 | * sysdeps/unix/sysv/linux/i386/lowlevelsem.h (lll_sem_post): Adjust | |
2140 | for new implementation. | |
2141 | * sysdeps/unix/sysv/linux/internaltypes.h (struct sem): Remove lock | |
2142 | and waiters fields. | |
2143 | ||
2144 | * tst-sem3.c: Improve error message. | |
2145 | * tst-signal3.c: Likewise. | |
2146 | ||
2147 | * init.c (__pthread_initialize_minimal): Use set_tid_address syscall | |
2148 | to tell the kernel about the termination futex and to initialize tid | |
2149 | member. Don't initialize main_thread. | |
2150 | * descr.h (struct pthread): Remove main_thread member. | |
2151 | * cancelllation.c (__do_cancel): Remove code handling main thread. | |
2152 | The main thread is not special anymore. | |
2153 | ||
2154 | * allocatestack.c (__reclaim_stacks): Mark stacks as unused. Add | |
2155 | size of the stacks to stack_cache_actsize. | |
2156 | ||
2157 | * pt-readv.c: Add missing "defined". | |
2158 | * pt-sigwait.c: Likewise. | |
2159 | * pt-writev.c: Likewise. | |
2160 | ||
2161 | 2002-11-09 Ulrich Drepper <drepper@redhat.com> | |
2162 | ||
2163 | * Versions: Export __connect from libpthread. | |
2164 | Patch by Luca Barbieri <ldb@ldb.ods.org>. | |
2165 | ||
2166 | * Makefile (libpthread-routines): Add pt-raise. | |
2167 | * sysdeps/unix/sysv/linux/raise.c: New file. | |
2168 | * sysdeps/unix/sysv/linux/pt-raise.c: New file. | |
2169 | * sysdeps/generic/pt-raise.c: New file. | |
2170 | ||
2171 | * pthread_cond_init.c: Initialize all data elements of the condvar | |
2172 | structure. Patch by Luca Barbieri <ldb@ldb.ods.org>. | |
2173 | ||
2174 | * pthread_attr_init.c: Actually implement 2.0 compatibility version. | |
2175 | * pthread_create.c: Likewise. | |
2176 | ||
2177 | * Makefile (tests): Add tst-key1, tst-key2, tst-key3. | |
2178 | * tst-key1.c: New file. | |
2179 | * tst-key2.c: New file. | |
2180 | * tst-key3.c: New file. | |
2181 | ||
2182 | * Versions: Export pthread_detach for version GLIBC_2.0. | |
2183 | Reported by Saurabh Desai <sdesai@austin.ibm.com>. | |
2184 | ||
2185 | 2002-11-08 Ulrich Drepper <drepper@redhat.com> | |
2186 | ||
2187 | * pthread_key_create.c: Terminate search after an unused key was found. | |
2188 | Patch by Luca Barbieri <ldb@ldb.ods.org>. | |
2189 | ||
2190 | * sysdeps/unix/sysv/linux/i386/pthread_once.S: Return zero. | |
2191 | Patch by Luca Barbieri <ldb@ldb.ods.org>. | |
2192 | ||
2193 | 2002-10-10 Ulrich Drepper <drepper@redhat.com> | |
2194 | ||
2195 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S: Use slow generic | |
2196 | dynamic lookup for errno in PIC. | |
2197 | ||
2198 | * allocatestack.c (get_cached_stack): Rearrange code slightly to | |
2199 | release the stack lock as soon as possible. | |
2200 | Call _dl_allocate_tls_init for TCB from the cache to re-initialize | |
2201 | the static TLS block. | |
2202 | (allocate_stack): Call _dl_allocate_tls_init for user-provided stack. | |
2203 | ||
2204 | * cancellation.c: Renamed from cancelation.c. | |
2205 | * Makefile: Adjust accordingly. | |
2206 | * pthreadP.h (CANCELLATION_P): Renamed from CANCELATION_P. | |
2207 | * cleanup_defer.c: Use CANCELLATION_P. | |
2208 | * pthread_testcancel.c: Likewise. | |
2209 | * descr.h: Fix spelling in comments. | |
2210 | * init.c: Likewise. | |
2211 | * pthread_getattr_np.c: Likewise. | |
2212 | * pthread_getschedparam.c: Likewise. | |
2213 | * pthread_setschedparam.c: Likewise. | |
2214 | * Versions: Likewise. | |
2215 | ||
2216 | * pt-pselect.c: New file. | |
2217 | * Makefile (libpthread-routines): Add pt-pselect. | |
2218 | * Versions: Add pselect. | |
2219 | ||
2220 | * tst-cancel4.c: New file. | |
2221 | * Makefile (tests): Add tst-cancel4. | |
2222 | ||
2223 | 2002-10-09 Ulrich Drepper <drepper@redhat.com> | |
2224 | ||
2225 | * pthread_mutex_lock.c: Always record lock ownership. | |
2226 | * pthread_mutex_timedlock.c: Likewise. | |
2227 | * pthread_mutex_trylock.c: Likewise. | |
2228 | ||
2229 | * pt-readv.c: New file. | |
2230 | * pt-writev.c: New file. | |
2231 | * pt-creat.c: New file. | |
2232 | * pt-msgrcv.c: New file. | |
2233 | * pt-msgsnd.c: New file. | |
2234 | * pt-poll.c: New file. | |
2235 | * pt-select.c: New file. | |
2236 | * pt-sigpause.c: New file. | |
2237 | * pt-sigsuspend.c: New file. | |
2238 | * pt-sigwait.c: New file. | |
2239 | * pt-sigwaitinfo.c: New file. | |
2240 | * pt-waitid.c: New file. | |
2241 | * Makefile (libpthread-routines): Add pt-readv, pt-writev, pt-creat, | |
2242 | pt-msgrcv, pt-msgsnd, pt-poll, pt-select, pt-sigpause, pt-sigsuspend, | |
2243 | pt-sigwait, pt-sigwaitinfo, and pt-waitid. | |
2244 | * Versions: Add all the new functions. | |
2245 | ||
2246 | * tst-exit1.c: New file. | |
2247 | * Makefile (tests): Add tst-exit1. | |
2248 | ||
2249 | * sem_timedwait.c: Minor optimization for more optimal fastpath. | |
2250 | ||
2251 | 2002-10-08 Ulrich Drepper <drepper@redhat.com> | |
2252 | ||
2253 | * pt-fcntl.c: Only enable asynchronous cancellation for F_SETLKW. | |
2254 | ||
2255 | * pthread_join.c: Enable asynchronous cancellation around lll_wait_tid | |
2256 | call. pthread_join is an official cancellation point. | |
2257 | * pthread_timedjoin.c: Likewise. | |
2258 | ||
2259 | * pthread_cond_wait.c: Revert order in which internal lock are dropped | |
2260 | and the condvar's mutex are retrieved. | |
2261 | * pthread_cond_timedwait.c: Likewise. | |
2262 | Reported by dice@saros.East.Sun.COM. | |
2263 | ||
2264 | 2002-10-07 Ulrich Drepper <drepper@redhat.com> | |
2265 | ||
2266 | * pthreadP.h: Cut out all type definitions and move them... | |
2267 | * sysdeps/unix/sysv/linux/internaltypes.h: ...here. New file. | |
2268 | * pthreadP.h: Include <internaltypes.h>. | |
2269 | ||
2270 | * sysdeps/unix/sysv/linux/i386/lowlevelsem.h (lll_sem_post): Little | |
2271 | performance tweaks. | |
2272 | ||
2273 | * sem_trywait.c: Shuffle #includes around to get right order. | |
2274 | * sem_timedwait.c: Likewise. | |
2275 | * sem_post.c: Likewise. | |
2276 | * sem_wait.c: Likewise. | |
2277 | ||
2278 | * nptl 0.3 released. | |
2279 | ||
2280 | * Makefile (tests): Add tst-signal3. | |
2281 | * tst-signal3.c: New file. | |
2282 | ||
2283 | 2002-10-05 Ulrich Drepper <drepper@redhat.com> | |
2284 | ||
2285 | * sysdeps/unix/sysv/linux/i386/lowlevelsem.h: Tell the compiler that | |
2286 | the asms modify the sem object. | |
2287 | (__lll_sem_timedwait): Now takes struct sem* as first parameter. | |
2288 | ||
2289 | * sysdeps/unix/sysv/linux/i386/bits/semaphore.h (sem_t): Don't expose | |
2290 | the actual members. | |
2291 | * pthreadP.h (struct sem): New type. Actual semaphore type. | |
2292 | * semaphoreP.h: Include pthreadP.h. | |
2293 | * sem_getvalue.c: Adjust to sem_t change. | |
2294 | * sem_init.c: Likewise. | |
2295 | * sem_open.c: Likewise. | |
2296 | * sem_post.c: Likewise. | |
2297 | * sem_timedwait.c: Likewise. | |
2298 | * sem_trywait.c: Likewise. | |
2299 | * sem_wait.c: Likewise. | |
2300 | ||
2301 | 2002-10-04 Ulrich Drepper <drepper@redhat.com> | |
2302 | ||
2303 | * Makefile (tests): Add tst-basic2, tst-exec1, tst-exec3, tst-exec3. | |
2304 | * tst-basic2.c: New file. | |
2305 | * tst-exec1.c: New file. | |
2306 | * tst-exec2.c: New file. | |
2307 | * tst-exec3.c: New file. | |
2308 | ||
2309 | * tst-fork1.c: Remove extra */. | |
2310 | ||
2311 | * nptl 0.2 released. The API for IA-32 is complete. |