]>
Commit | Line | Data |
---|---|---|
dce8f2b6 UD |
1 | 2002-12-10 Ulrich Drepper <drepper@redhat.com> |
2 | ||
3 | * Makefile (tests): We can run tst-locale2 now. | |
4 | ||
e5e45b53 UD |
5 | 2002-12-09 Ulrich Drepper <drepper@redhat.com> |
6 | ||
7 | * Versions: Remove duplicated sigwait entry. | |
8 | ||
bdb04f92 UD |
9 | 2002-12-08 Ulrich Drepper <drepper@redhat.com> |
10 | ||
1e506629 UD |
11 | * pthreadP.h: Enable pthread_cleanup_{push,pop} optimizations only |
12 | inside libpthread. | |
13 | ||
a3957dd5 UD |
14 | * pt-fcntl.c (__fcntl): Initialize oldtype to avoid warning. |
15 | ||
bdb04f92 UD |
16 | * pthreadP.h: Declare __pthread_enable_asynccancel and |
17 | __pthread_disable_asynccancel. | |
18 | (CANCEL_ASYNC): Use __pthread_enable_asynccancel. | |
19 | (CANCEL_RESET): Use __pthread_disable_asynccancel. | |
20 | * cancellation.c (__pthread_enable_asynccancel): New function. | |
21 | (__pthread_disable_asynccancel): New function. | |
22 | * pt-accept.c: Adjust for CANCEL_ASYNC and CANCEL_RESET change. | |
23 | * pt-close.c: Likewise. | |
24 | * pt-connect.c: Likewise. | |
25 | * pt-creat.c: Likewise. | |
26 | * pt-fcntl.c: Likewise. | |
27 | * pt-fsync.c: Likewise. | |
28 | * pt-lseek.c: Likewise. | |
29 | * pt-lseek64.c: Likewise. | |
30 | * pt-msgrcv.c: Likewise. | |
31 | * pt-msgsnd.c: Likewise. | |
32 | * pt-msync.c: Likewise. | |
33 | * pt-nanosleep.c: Likewise. | |
34 | * pt-open.c: Likewise. | |
35 | * pt-open64.c: Likewise. | |
36 | * pt-pause.c: Likewise. | |
37 | * pt-poll.c: Likewise. | |
38 | * pt-pread.c: Likewise. | |
39 | * pt-pread64.c: Likewise. | |
40 | * pt-pselect.c: Likewise. | |
41 | * pt-pwrite.c: Likewise. | |
42 | * pt-pwrite64.c: Likewise. | |
43 | * pt-read.c: Likewise. | |
44 | * pt-readv.c: Likewise. | |
45 | * pt-recv.c: Likewise. | |
46 | * pt-recvfrom.c: Likewise. | |
47 | * pt-recvmsg.c: Likewise. | |
48 | * pt-select.c: Likewise. | |
49 | * pt-send.c: Likewise. | |
50 | * pt-sendmsg.c: Likewise. | |
51 | * pt-sendto.c: Likewise. | |
52 | * pt-sigpause.c: Likewise. | |
53 | * pt-sigsuspend.c: Likewise. | |
54 | * pt-sigtimedwait.c: Likewise. | |
55 | * pt-sigwait.c: Likewise. | |
56 | * pt-sigwaitinfo.c: Likewise. | |
57 | * pt-system.c: Likewise. | |
58 | * pt-tcdrain.c: Likewise. | |
59 | * pt-wait.c: Likewise. | |
60 | * pt-waitid.c: Likewise. | |
61 | * pt-waitpid.c: Likewise. | |
62 | * pt-write.c: Likewise. | |
63 | * pt-writev.c: Likewise. | |
a3957dd5 UD |
64 | * pthread_join.c: Likewise. |
65 | * pthread_timedjoin.c: Likewise. | |
bdb04f92 UD |
66 | |
67 | * pt-sigpause.c (sigsuspend): Call __sigsuspend. | |
68 | (__xpg_sigpause): New function. | |
69 | * Versions (libpthread:GLIBC_2.3.2): Add __xpg_sigpause. | |
70 | ||
6ccb3834 UD |
71 | 2002-12-07 Ulrich Drepper <drepper@redhat.com> |
72 | ||
09efc3ba UD |
73 | * Makefile (CFLAGS-ftrylockfile.c): Add -D_IO_MTSAFE_IO. |
74 | ||
75 | * cleanup.c: Move declarations of _GI_pthread_cleanup_push and | |
76 | _GI_pthread_cleanup_pop to pthreadP.h. | |
77 | ||
78 | * ftrylockfile.c: Use _IO_lock_trylock instead of | |
79 | pthread_mutex_trylock. | |
80 | ||
81 | * pthreadP.h (CANCEL_ASYNC): Use __pthread_setcanceltype. | |
82 | (CANCEL_RESET): Likewise. | |
83 | (__pthread_setcanceltype_): Declare. | |
84 | (__pthread_mutex_lock_internal): Declare. | |
85 | (__pthread_mutex_unlock_internal): Declare. | |
86 | (__pthread_once_internal): Declare. | |
87 | (pthread_cleanup_push): Redefine using _GI_pthread_cleanup_push. | |
88 | (pthread_cleanup_pop): Redefine using _GI_pthread_cleanup_pop. | |
89 | ||
90 | * pthread_cond_timedwait.c: Use INTUSE is calls to pthread_mutex_lock | |
91 | and pthread_mutex_unlock. | |
92 | * pthread_cond_wait.c: Likewise. | |
93 | * pthread_mutex_lock.c: Use INTDEF to define alias if needed. | |
94 | * pthread_mutex_unlock.c: Likewise. | |
95 | ||
96 | * pthread_setcanceltype.c: Add additional alias | |
97 | __pthread_setcanceltype. | |
98 | ||
99 | * sem_unlink.c (sem_unlink): Use __pthread_once with INTDEF. | |
100 | * sem_open.c (sem_open): Likewise. | |
101 | Use __libc_open, __libc_write, and __libc_close instead of | |
102 | open, write, and close respectively. | |
103 | ||
104 | * sysdeps/pthread/bits/libc-lock.h (__libc_lock_trylock_internal): | |
105 | Rewrite as statement expression since it must return a value. | |
106 | ||
107 | * pthread_cancel.c: Use __pthread_kill instead of pthread_kill. | |
108 | * sysdeps/unix/sysv/linux/pthread_kill.c: Define additional alias | |
109 | __pthread_kill. | |
110 | ||
111 | * sysdeps/unix/sysv/linux/i386/pthread_once.S: Define additional | |
112 | alias __pthread_once_internal. | |
113 | ||
6ccb3834 UD |
114 | * sysdeps/unix/sysv/linux/raise.c: Use libc_hidden_def for raise. |
115 | ||
d3c9f895 UD |
116 | 2002-12-06 Ulrich Drepper <drepper@redhat.com> |
117 | ||
4614167a UD |
118 | * Makefile (tests): Add tst-stdio1 and tst-stdio2. |
119 | * tst-stdio1.c: New file. | |
120 | * tst-stdio2.c: New file. | |
121 | ||
a4548cea UD |
122 | * init.c (__pthread_initialize_minimal): Correct INIT_LIST_HEAD use. |
123 | ||
d3c9f895 UD |
124 | * Makefile (tests): Comment out tst-locale2 for now. |
125 | (CFLAGS-flockfile.c, CFLAGS-funlockfile.c): Define to -D_IO_MTSAFE_IO. | |
126 | ||
127 | * sysdeps/unix/sysv/linux/Makefile: Define CFLAGS-fork.c to | |
128 | -D_IO_MTSAFE_IO. | |
129 | * sysdeps/unix/sysv/linux/fork.c: Include <bits/stdio-lock.h>. | |
130 | Use _IO_lock_init instead of explicit assignment. | |
131 | ||
132 | * sysdeps/pthread/bits/libc-lock.h: Define __rtld_lock_* macros. | |
133 | Define __libc_lock_* and __libc_lock_recursive macros with | |
134 | lowlevellock macros, not pthread mutexes. | |
135 | ||
136 | * flockfile.c: Include <bits/stdio-lock.h>. Use _IO_lock_lock instead | |
137 | of pthread_mutex_lock. | |
138 | * funlockfile.c: Include <bits/stdio-lock.h>. Use _IO_lock_unlock | |
139 | instead of pthread_mutex_unlock. | |
140 | ||
fde89ad0 RM |
141 | 2002-12-06 Roland McGrath <roland@redhat.com> |
142 | ||
143 | * allocatestack.c (__stack_user): Use uninitialized defn. | |
144 | * init.c (__pthread_initialize_minimal): Initialize it here. | |
145 | ||
11767d47 RM |
146 | 2002-12-05 Roland McGrath <roland@redhat.com> |
147 | ||
fde89ad0 RM |
148 | * sysdeps/i386/tls.h (TLS_INIT_TP): Make it return zero or an error |
149 | string. | |
150 | * sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise. | |
151 | ||
11767d47 RM |
152 | * sysdeps/unix/sysv/linux/i386/createthread.c (create_thread): Add |
153 | missing & here too. | |
154 | ||
440d8bc2 UD |
155 | 2002-12-05 Ulrich Drepper <drepper@redhat.com> |
156 | ||
157 | * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove | |
158 | lowlevellock. | |
159 | * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: New file. | |
160 | * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: New file. | |
161 | * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: New file. | |
162 | * sysdeps/pthread/bits/libc-lock.h: Use lowlevellock implementation | |
163 | for __libc_lock_* macros. | |
164 | * Makefile (routines): Add libc-lowlevellock. | |
165 | ||
166 | 2002-10-09 Roland McGrath <roland@redhat.com> | |
167 | ||
168 | * sysdeps/pthread/bits/libc-lock.h (__libc_maybe_call): New macro. | |
169 | Under [__PIC__], call the function via the pointer fetched for | |
170 | comparison rather than a call by name that uses the PLT. | |
171 | (__libc_lock_init, __libc_rwlock_init, __libc_lock_fini) | |
172 | (__libc_rwlock_fini, __libc_lock_lock, __libc_rwlock_rdlock) | |
173 | (__libc_rwlock_wrlock, __libc_lock_trylock, __libc_rwlock_tryrdlock) | |
174 | (__libc_rwlock_trywrlock, __libc_lock_unlock, __libc_rwlock_unlock) | |
175 | (__libc_key_create, __libc_getspecific, __libc_setspecific): Use it. | |
176 | ||
d5ed0118 RM |
177 | 2002-12-04 Roland McGrath <roland@redhat.com> |
178 | ||
179 | * forward.c (pthread_self): Use FORWARD3 macro to correct return type. | |
180 | ||
181 | * sysdeps/i386/td_ta_map_lwp2thr.c: Moved from ../nptl_db. | |
182 | * sysdeps/generic/td_ta_map_lwp2thr.c: New file. | |
183 | ||
184 | * pthread_create.c (start_thread): Add missing & on __nptl_last_event. | |
185 | ||
eaa4099f UD |
186 | 2002-12-04 Ulrich Drepper <drepper@redhat.com> |
187 | ||
188 | * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Make pthread_t | |
189 | a completely opaque, non-integer type. | |
190 | * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise. | |
191 | ||
33b5d0cc UD |
192 | 2002-12-05 Jakub Jelinek <jakub@redhat.com> |
193 | ||
194 | * sysdeps/i386/tls.h: Include stdlib.h. | |
195 | * sysdeps/x86_64/tls.h: Likewise. | |
196 | ||
7a5cdb30 UD |
197 | 2002-12-04 Ulrich Drepper <drepper@redhat.com> |
198 | ||
c4a6d859 UD |
199 | * Makefile (tests): Add tst-locale2. |
200 | (tests-static): Likewise. | |
201 | * tst-locale2.c: New file. | |
202 | ||
7a5cdb30 UD |
203 | * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Mark asms as |
204 | volatile and add memory clobbers to lock operations. | |
205 | ||
d82d5d12 UD |
206 | 2002-12-03 Ulrich Drepper <drepper@redhat.com> |
207 | ||
69cae3cf UD |
208 | * sysdeps/i386/i686/bits/atomic.h: Use i486 version. |
209 | * sysdeps/i386/i486/bits/atomic.h: New file. | |
210 | * sysdeps/i386/i586/bits/atomic.h: New file. | |
211 | * sysdeps/i386/i686/pthread_spin_trylock.S: Define HAVE_CMOV and | |
212 | include i486 version. | |
213 | * sysdeps/i386/i486/pthread_spin_trylock.S: New file. | |
214 | * sysdeps/i386/i586/pthread_spin_trylock.S: New file. | |
215 | Patch by Marjin Ros <marjin@mad.scientist.com>. | |
216 | ||
e4044c01 UD |
217 | * allocatestack.c (get_cached_stack): Don't crash if we first |
218 | found a stack with a larger size then needed. | |
219 | Reported by Hui Huang <hui.huang@sun.com>. | |
220 | ||
d82d5d12 UD |
221 | * Makefile (tests): Add tst-sysconf. |
222 | * tst-sysconf.c: New file. | |
223 | ||
224 | * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine | |
225 | PTHREAD_THREADS_MAX. | |
226 | ||
fa9a4ff0 RM |
227 | 2002-12-02 Roland McGrath <roland@redhat.com> |
228 | ||
229 | * pthreadP.h (__stack_user, __nptl_create_event, __nptl_death_event): | |
230 | Declare using hidden_proto instead of attribute_hidden, so there are | |
231 | non-.hidden static symbols for gdb to find. | |
232 | (__pthread_keys): Likewise. | |
233 | * events.c (__nptl_create_event, __nptl_death_event): Add hidden_def. | |
234 | * allocatestack.c (__stack_user): Likewise. | |
235 | * pthread_create.c (__pthread_keys): Likewise. | |
236 | (__nptl_threads_events, __nptl_last_event): Make these static instead | |
237 | of hidden. | |
238 | * pthread_key_create.c (__pthread_pthread_keys_max, | |
239 | __pthread_pthread_key_2ndlevel_size): Renamed from __linuxthreads_*. | |
240 | ||
91949a33 UD |
241 | 2002-12-02 Ulrich Drepper <drepper@redhat.com> |
242 | ||
c22b52fa UD |
243 | * Makefile (tests): Add tst-locale1. If buid-static is yes link |
244 | statically. | |
245 | * tst-locale1.c: New file. | |
246 | ||
beb6aa41 UD |
247 | * pthread_cond_timedwait.c: Include <stdlib.h>. |
248 | ||
91949a33 UD |
249 | * Makefile (tests): Add tst-fork2 and tst-fork3. |
250 | * tst-fork2.c: New file. | |
251 | * tst-fork3.c: New file. | |
252 | ||
654dff90 UD |
253 | 2002-11-28 Ulrich Drepper <drepper@redhat.com> |
254 | ||
cb0e76b4 UD |
255 | * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: New file. |
256 | ||
257 | * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define macros which | |
258 | require it to 200112L. | |
259 | ||
260 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S: Use cmov | |
261 | instruction only if HAVE_CMOV is defined. | |
262 | * sysdeps/unix/sysv/linux/i386/i686/lowlevelrwlock.S: Define HAVE_CMOV. | |
263 | ||
975aa229 UD |
264 | * sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h: New file. |
265 | ||
654dff90 UD |
266 | * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: New file. |
267 | ||
268 | * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: New file. | |
269 | ||
270 | * sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: New file. | |
271 | ||
a3931336 UD |
272 | 2002-11-27 Ulrich Drepper <drepper@redhat.com> |
273 | ||
c10c099c UD |
274 | * sysdeps/x86_64/bits/atomic.h: New file. |
275 | ||
276 | * sysdeps/i386/i686/bits/atomic.h: Fix asm syntax for 8- and | |
277 | 16-bit operations. | |
278 | ||
dca99d27 UD |
279 | * sysdeps/unix/sysv/linux/raise.c (raise): Use INTERNAL_SYSCALL if |
280 | possible since gettid cannot fail. | |
281 | ||
f78deea6 UD |
282 | * sysdeps/x86_64/pthreaddef.h: New file. |
283 | ||
284 | * sysdeps/i386/pthreaddef.h (gettid): Removed. | |
285 | ||
286 | * sysdeps/x86_64/pthread_spin_init.c: New file. | |
287 | * sysdeps/x86_64/pthread_spin_lock.c: New file. | |
288 | * sysdeps/x86_64/pthread_spin_trylock.c: New file. | |
289 | * sysdeps/x86_64/pthread_spin_unlock.c: New file. | |
290 | ||
291 | * sysdeps/i386/i686/pthread_spin_trylock.S (pthread_spin_trylock): | |
292 | Add missing lock prefix. Minute optimization. | |
293 | ||
294 | * tst-spin2.c (main): Also check successful trylock call. | |
295 | ||
296 | * sysdeps/pthread/pthread_sigmask.c (pthread_sigmask): Use correct | |
297 | syscall. Fix typo in case INTERNAL_SYSCALL is not used. | |
298 | ||
299 | * sysdeps/i386/pthread_spin_destroy.c: Moved to... | |
300 | * sysdeps/pthread/pthread_spin_destroy.c: ...here. New file. | |
301 | ||
302 | * sysdeps/i386/pthread_sigmask.c: Removed. Use the generic code. | |
303 | * sysdeps/pthread/pthread_sigmask.c (pthread_sigmask): Return correct | |
304 | value in case of an error. Add support for INTERNAL_SYSCALL. | |
b54e18eb UD |
305 | |
306 | * sysdeps/i386/pthread_sigmask.c (pthread_sigmask): Return correct | |
307 | value in case of an error. | |
308 | ||
a3931336 UD |
309 | * sysdeps/x86_64/tls.h: New file. |
310 | ||
76a50749 UD |
311 | 2002-11-26 Ulrich Drepper <drepper@redhat.com> |
312 | ||
117c452c UD |
313 | * sysdeps/i386/tls.h (THREAD_GETMEM_NC): Change interface. It now |
314 | takes the array member name and the index as parameters. | |
315 | (THREAD_SETMEM_NC): Likewise. | |
316 | * pthread_getspecific.c: Use new THREAD_GETMEM_NC interface. | |
317 | * pthread_setspecific.c: Use new THREAD_GETMEM_NC and THREAD_SETMEM_NC | |
318 | interfaces. | |
319 | ||
320 | * sysdeps/i386/tls.h (THREAD_SETMEM): Use size of member element | |
321 | to decide which code to use. | |
322 | (THREAD_SETMEM_NC): Likewise. | |
323 | ||
76a50749 UD |
324 | * allocatestack.c (queue_stack): Don't remove stack from list here. |
325 | Do it in the caller. Correct condition to prematurely terminate | |
326 | loop to free stacks. | |
327 | (__deallocate_stack): Remove stack from list here. | |
328 | ||
329 | 2002-11-26 Ulrich Drepper <drepper@redhat.com> | |
330 | ||
331 | * Makefile (tests): Add tst-stack1. | |
332 | * tst-stack1.c: New file. | |
333 | ||
334 | * allocatestack.c (allocate_stack): Initialize the TCB on a user | |
335 | provided stack. | |
336 | ||
337 | * pthread_attr_getstack.c: Return bottom of the thread area. | |
338 | ||
339 | 2002-11-25 Ulrich Drepper <drepper@redhat.com> | |
340 | ||
341 | * Makefile (libpthread-routines): Add pt-allocrtsig and | |
342 | pthread_kill_other_threads. | |
343 | * pt-allocrtsig.c: New file. | |
344 | * pthread_kill_other_threads.c: New file. | |
345 | * sysdeps/unix/sysv/linux/allocrtsig.c: Add additional aliases for | |
346 | all three functions. | |
347 | * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove | |
348 | allocrtsig. | |
349 | * sysdeps/unix/sysv/linux/Versions (libc:GLIBC_PRIVATE): Export | |
350 | __libc_current_sigrtmin_private, __libc_current_sigrtmax_private, | |
351 | and __libc_allocate_rtsig_private. | |
352 | * Versions (libpthread): Export pthread_kill_other_threads_np, | |
353 | __libc_current_sigrtmin, and __libc_current_sigrtmax. | |
354 | ||
355 | 2002-11-24 Ulrich Drepper <drepper@redhat.com> | |
356 | ||
357 | * allocatestack.c (allocate_stack): stackaddr in attribute points to | |
358 | the end of the stack. Adjust computations. | |
359 | When mprotect call fails dequeue stack and free it. | |
360 | * pthread_attr_setstack.c: Store top of the stack in stackaddr | |
361 | attribute. | |
362 | * pthread_getattr_np.c: Likewise. | |
363 | ||
364 | * descr.h (IS_DETACHED): Add some more parenthesis to prevent | |
365 | surprises. | |
366 | ||
367 | 2002-11-23 Ulrich Drepper <drepper@redhat.com> | |
368 | ||
369 | * sysdeps/pthread/pthread.h (pthread_self): __THROW must come before | |
370 | attribute definitions. Patch by Luca Barbieri <ldb@ldb.ods.org>. | |
371 | ||
372 | 2002-11-22 Ulrich Drepper <drepper@redhat.com> | |
373 | ||
374 | * pthread_getspecific.c: Optimize access to first 2nd-level array. | |
375 | * pthread_setspecific.c: Likewise. | |
376 | ||
377 | 2002-11-21 Ulrich Drepper <drepper@redhat.com> | |
378 | ||
379 | * sysdeps/unix/sysv/linux/i386/createthread.c: Remove CLONE_ flags | |
380 | definitions. Get them from the official place. | |
381 | * sysdeps/unix/sysv/linux/i386/fork.c: Likewise. | |
382 | ||
383 | * sysdeps/unix/sysv/linux/i386/createthread.c: Update CLONE_* flags. | |
384 | Use new CLONE_ flags in clone() calls. | |
385 | ||
386 | * sysdeps/unix/sysv/linux/fork.c: Use ARCH_FORK to actually fork. | |
387 | * sysdeps/unix/sysv/linux/i386/fork.c: New file. | |
388 | ||
389 | * Versions: Add pthread_* functions for libc. | |
390 | * forward.c: New file. | |
391 | ||
392 | * sysdeps/pthread/Makefile (libpthread-sysdeps_routines): Add | |
393 | errno-loc. | |
394 | * herrno.c: New file. | |
395 | * res.c: New file. | |
396 | ||
397 | * Makefile (libpthread-routines): Remove sem_post, sem_wait, | |
398 | sem_trywait, and sem_timedwait. Add herrno and res. | |
399 | * sem_init.c: Don't initialize lock and waiters members. | |
400 | * sem_open.c: Likewise. | |
401 | * sem_post.c: Removed. | |
402 | * sem_wait.c: Removed. | |
403 | * sem_trywait.c: Removed. | |
404 | * sem_timedwait.c: Removed. | |
405 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S: Complete rewrite. | |
406 | Includes full implementations of sem_post, sem_wait, sem_trywait, | |
407 | and sem_timedwait. | |
408 | * sysdeps/unix/sysv/linux/i386/lowlevelsem.h (lll_sem_post): Adjust | |
409 | for new implementation. | |
410 | * sysdeps/unix/sysv/linux/internaltypes.h (struct sem): Remove lock | |
411 | and waiters fields. | |
412 | ||
413 | * tst-sem3.c: Improve error message. | |
414 | * tst-signal3.c: Likewise. | |
415 | ||
416 | * init.c (__pthread_initialize_minimal): Use set_tid_address syscall | |
417 | to tell the kernel about the termination futex and to initialize tid | |
418 | member. Don't initialize main_thread. | |
419 | * descr.h (struct pthread): Remove main_thread member. | |
420 | * cancelllation.c (__do_cancel): Remove code handling main thread. | |
421 | The main thread is not special anymore. | |
422 | ||
423 | * allocatestack.c (__reclaim_stacks): Mark stacks as unused. Add | |
424 | size of the stacks to stack_cache_actsize. | |
425 | ||
426 | * pt-readv.c: Add missing "defined". | |
427 | * pt-sigwait.c: Likewise. | |
428 | * pt-writev.c: Likewise. | |
429 | ||
430 | 2002-11-09 Ulrich Drepper <drepper@redhat.com> | |
431 | ||
432 | * Versions: Export __connect from libpthread. | |
433 | Patch by Luca Barbieri <ldb@ldb.ods.org>. | |
434 | ||
435 | * Makefile (libpthread-routines): Add pt-raise. | |
436 | * sysdeps/unix/sysv/linux/raise.c: New file. | |
437 | * sysdeps/unix/sysv/linux/pt-raise.c: New file. | |
438 | * sysdeps/generic/pt-raise.c: New file. | |
439 | ||
440 | * pthread_cond_init.c: Initialize all data elements of the condvar | |
441 | structure. Patch by Luca Barbieri <ldb@ldb.ods.org>. | |
442 | ||
443 | * pthread_attr_init.c: Actually implement 2.0 compatibility version. | |
444 | * pthread_create.c: Likewise. | |
445 | ||
446 | * Makefile (tests): Add tst-key1, tst-key2, tst-key3. | |
447 | * tst-key1.c: New file. | |
448 | * tst-key2.c: New file. | |
449 | * tst-key3.c: New file. | |
450 | ||
451 | * Versions: Export pthread_detach for version GLIBC_2.0. | |
452 | Reported by Saurabh Desai <sdesai@austin.ibm.com>. | |
453 | ||
454 | 2002-11-08 Ulrich Drepper <drepper@redhat.com> | |
455 | ||
456 | * pthread_key_create.c: Terminate search after an unused key was found. | |
457 | Patch by Luca Barbieri <ldb@ldb.ods.org>. | |
458 | ||
459 | * sysdeps/unix/sysv/linux/i386/pthread_once.S: Return zero. | |
460 | Patch by Luca Barbieri <ldb@ldb.ods.org>. | |
461 | ||
462 | 2002-10-10 Ulrich Drepper <drepper@redhat.com> | |
463 | ||
464 | * sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S: Use slow generic | |
465 | dynamic lookup for errno in PIC. | |
466 | ||
467 | * allocatestack.c (get_cached_stack): Rearrange code slightly to | |
468 | release the stack lock as soon as possible. | |
469 | Call _dl_allocate_tls_init for TCB from the cache to re-initialize | |
470 | the static TLS block. | |
471 | (allocate_stack): Call _dl_allocate_tls_init for user-provided stack. | |
472 | ||
473 | * cancellation.c: Renamed from cancelation.c. | |
474 | * Makefile: Adjust accordingly. | |
475 | * pthreadP.h (CANCELLATION_P): Renamed from CANCELATION_P. | |
476 | * cleanup_defer.c: Use CANCELLATION_P. | |
477 | * pthread_testcancel.c: Likewise. | |
478 | * descr.h: Fix spelling in comments. | |
479 | * init.c: Likewise. | |
480 | * pthread_getattr_np.c: Likewise. | |
481 | * pthread_getschedparam.c: Likewise. | |
482 | * pthread_setschedparam.c: Likewise. | |
483 | * Versions: Likewise. | |
484 | ||
485 | * pt-pselect.c: New file. | |
486 | * Makefile (libpthread-routines): Add pt-pselect. | |
487 | * Versions: Add pselect. | |
488 | ||
489 | * tst-cancel4.c: New file. | |
490 | * Makefile (tests): Add tst-cancel4. | |
491 | ||
492 | 2002-10-09 Ulrich Drepper <drepper@redhat.com> | |
493 | ||
494 | * pthread_mutex_lock.c: Always record lock ownership. | |
495 | * pthread_mutex_timedlock.c: Likewise. | |
496 | * pthread_mutex_trylock.c: Likewise. | |
497 | ||
498 | * pt-readv.c: New file. | |
499 | * pt-writev.c: New file. | |
500 | * pt-creat.c: New file. | |
501 | * pt-msgrcv.c: New file. | |
502 | * pt-msgsnd.c: New file. | |
503 | * pt-poll.c: New file. | |
504 | * pt-select.c: New file. | |
505 | * pt-sigpause.c: New file. | |
506 | * pt-sigsuspend.c: New file. | |
507 | * pt-sigwait.c: New file. | |
508 | * pt-sigwaitinfo.c: New file. | |
509 | * pt-waitid.c: New file. | |
510 | * Makefile (libpthread-routines): Add pt-readv, pt-writev, pt-creat, | |
511 | pt-msgrcv, pt-msgsnd, pt-poll, pt-select, pt-sigpause, pt-sigsuspend, | |
512 | pt-sigwait, pt-sigwaitinfo, and pt-waitid. | |
513 | * Versions: Add all the new functions. | |
514 | ||
515 | * tst-exit1.c: New file. | |
516 | * Makefile (tests): Add tst-exit1. | |
517 | ||
518 | * sem_timedwait.c: Minor optimization for more optimal fastpath. | |
519 | ||
520 | 2002-10-08 Ulrich Drepper <drepper@redhat.com> | |
521 | ||
522 | * pt-fcntl.c: Only enable asynchronous cancellation for F_SETLKW. | |
523 | ||
524 | * pthread_join.c: Enable asynchronous cancellation around lll_wait_tid | |
525 | call. pthread_join is an official cancellation point. | |
526 | * pthread_timedjoin.c: Likewise. | |
527 | ||
528 | * pthread_cond_wait.c: Revert order in which internal lock are dropped | |
529 | and the condvar's mutex are retrieved. | |
530 | * pthread_cond_timedwait.c: Likewise. | |
531 | Reported by dice@saros.East.Sun.COM. | |
532 | ||
533 | 2002-10-07 Ulrich Drepper <drepper@redhat.com> | |
534 | ||
535 | * pthreadP.h: Cut out all type definitions and move them... | |
536 | * sysdeps/unix/sysv/linux/internaltypes.h: ...here. New file. | |
537 | * pthreadP.h: Include <internaltypes.h>. | |
538 | ||
539 | * sysdeps/unix/sysv/linux/i386/lowlevelsem.h (lll_sem_post): Little | |
540 | performance tweaks. | |
541 | ||
542 | * sem_trywait.c: Shuffle #includes around to get right order. | |
543 | * sem_timedwait.c: Likewise. | |
544 | * sem_post.c: Likewise. | |
545 | * sem_wait.c: Likewise. | |
546 | ||
547 | * nptl 0.3 released. | |
548 | ||
549 | * Makefile (tests): Add tst-signal3. | |
550 | * tst-signal3.c: New file. | |
551 | ||
552 | 2002-10-05 Ulrich Drepper <drepper@redhat.com> | |
553 | ||
554 | * sysdeps/unix/sysv/linux/i386/lowlevelsem.h: Tell the compiler that | |
555 | the asms modify the sem object. | |
556 | (__lll_sem_timedwait): Now takes struct sem* as first parameter. | |
557 | ||
558 | * sysdeps/unix/sysv/linux/i386/bits/semaphore.h (sem_t): Don't expose | |
559 | the actual members. | |
560 | * pthreadP.h (struct sem): New type. Actual semaphore type. | |
561 | * semaphoreP.h: Include pthreadP.h. | |
562 | * sem_getvalue.c: Adjust to sem_t change. | |
563 | * sem_init.c: Likewise. | |
564 | * sem_open.c: Likewise. | |
565 | * sem_post.c: Likewise. | |
566 | * sem_timedwait.c: Likewise. | |
567 | * sem_trywait.c: Likewise. | |
568 | * sem_wait.c: Likewise. | |
569 | ||
570 | 2002-10-04 Ulrich Drepper <drepper@redhat.com> | |
571 | ||
572 | * Makefile (tests): Add tst-basic2, tst-exec1, tst-exec3, tst-exec3. | |
573 | * tst-basic2.c: New file. | |
574 | * tst-exec1.c: New file. | |
575 | * tst-exec2.c: New file. | |
576 | * tst-exec3.c: New file. | |
577 | ||
578 | * tst-fork1.c: Remove extra */. | |
579 | ||
580 | * nptl 0.2 released. The API for IA-32 is complete. |