1 1999-11-23 Ulrich Drepper <drepper@cygnus.com>
3 * manager.c (pthread_start_thread_event): Initialize p_pid already
6 1999-11-22 Ulrich Drepper <drepper@cygnus.com>
8 * internals.h: Add prototype for __pthread_manager_event.
9 * manager.c (__pthread_manager_event): New function.
10 (pthread_start_thread_event): Correct computation of self.
12 * pthread.c (__pthread_manager_thread): Initialize p_lock.
13 (__pthread_initialize_manager): Respect event flags also for creation
14 of the manager thread.
16 1999-11-08 Ulrich Drepper <drepper@cygnus.com>
18 * pthread.c (__pthread_initialize_manager): Initialize
19 __pthread_manager_thread.p_tid.
21 1999-11-02 Ulrich Drepper <drepper@cygnus.com>
23 * internals.h: Declare __pthread_last_event.
24 * manager.c: Define __pthread_last_event.
25 (pthread_handle_create): Set __pthread_last_event.
26 (pthread_exited): Likewise.
27 * join.c (pthread_exit): Likewise.
29 * Makefile (libpthread-routines): Add events.
31 * internals.h: Protect against multiple inclusion.
32 Include thread_dbP.h header.
33 (struct _pthread_descr_struct): Add new fields p_report_events and
35 Declare event reporting functions.
36 * join.c (pthread_exit): Signal event if this is wanted.
37 * manager.c (__pthread_threads_events): New variable.
38 (pthread_handle_create): Take new parameters with event information.
39 Signal TD_CREATE event if wanted.
40 (__pthread_manager): Adjust pthread_handle_create call.
41 (pthread_start_thread_event): New function. Block until manager is
42 finished and then call pthread_start_thread.
43 (pthread_exited): Signal TD_REAP event if wanted.
45 1999-10-26 Ulrich Drepper <drepper@cygnus.com>
47 * restart.h (suspend_with_cancellation): Rewrite as a macro.
49 * condvar.c (pthread_cond_timedwait_relative): Don't mark as inline.
51 1999-10-25 Andreas Jaeger <aj@suse.de>
53 * internals.h: Remove K&R compatibility.
55 * semaphore.h: Likewise.
56 * signals.c: Likewise.
57 * sysdeps/pthread/bits/libc-tsd.h: Likewise.
58 * sysdeps/unix/sysv/linux/bits/sigthread.h: Likewise.
61 1999-10-21 Xavier Leroy <Xavier.Leroy@inria.fr>
63 * linuxthreads/pthread.c: For i386, wrap pthread_handle_sigrestart
64 and pthread_handle_sigcancel with functions that restore
65 %gs from the signal context. For each signal handling function,
66 two wrappers are required, one for a non-RT signal and one for
68 * linuxthreads/signal.c: For i386, add code to restore %gs
69 from the signal context in pthread_sighandler and
70 pthread_sighandler_rt.
72 1999-10-17 Ulrich Drepper <drepper@cygnus.com>
74 * internals.h (PTHREAD_START_ARGS_INITIALIZER): Add cast.
76 1999-10-14 Ulrich Drepper <drepper@cygnus.com>
78 * pthread.c (__pthread_initial_thread): Pass argument to
79 PTHREAD_START_ARGS_INITIALIZER.
80 (__pthread_manager_thread): Likewise.
82 * internals.h (PTHREAD_START_ARGS_INITIALIZER): Add parameter to
85 * manager.c (pthread_handle_create): Remove p_startfct initialization.
87 * internals.h (_pthread_descr_struct): We don't need p_startfct field.
89 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
91 * internals.h: Correct return types for __libc_read and __libc_write.
93 1999-10-09 Andreas Jaeger <aj@suse.de>
95 * internals.h: Add __new_sem_post to get prototype in
96 manager.c; include semaphore.h for needed types.
98 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
100 * manager.c (__pthread_manager) [REQ_POST]: Use __new_sem_post
101 directly instead of calling sem_post which should not be necessary
102 but is faster and might help in some case to work around problems.
103 Patch by khendricks@ivey.uwo.ca [libc/1382].
105 1999-10-08 Andreas Schwab <schwab@suse.de>
107 * sysdeps/pthread/Subdirs: New file.
110 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
113 * internals.h (struct _pthread_descr_struct): Add p_startfct.
114 * manager.c (pthread_handle_create): Initialize p_startfct.
115 * pthread.c: Define __linuxthread_pthread_sizeof_descr variable.
117 1999-09-25 Ulrich Drepper <drepper@cygnus.com>
119 * manager.c (__linuxthreads_pthread_threads_max): New variable.
120 * specific.c (__linuxthreads_pthread_keys_max): New variable.
121 (__linuxthreads_pthread_key_2ndlevel_size): New variable.
123 * condvar.c (pthread_cond_timedwait_relative): Never return with
124 EINTR. Patch by Andreas Schwab.
126 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
128 * signals.c (sigaction): Correct last patch. Don't select
129 pthread_sighandler_rt based on the signal number but instead of
132 1999-09-23 Ulrich Drepper <drepper@cygnus.com>
134 * specific.c: Move definitions of struct pthread_key_struct and
135 destr_function to ...
136 * internals.h: ...here.
138 1999-09-18 Ulrich Drepper <drepper@cygnus.com>
140 * pthread.c (pthread_handle_sigrestart_rt): New function. Use
141 this instead of pthread_handle_sigrestart if the signal is an RT
144 * signals.c: Handle passing through of sighandler arguments also
145 for real-time signals.
147 1999-09-03 Andreas Schwab <schwab@suse.de>
149 * ptfork.c (__fork): Renamed from fork and use __libc_fork. Add
151 (__vfork): New function, alias vfork.
152 * Versions: Export __fork, vfork, and __vfork in libpthread.
154 1999-08-23 Andreas Schwab <schwab@suse.de>
156 * signals.c (pthread_sighandler): Add SIGCONTEXT_EXTRA_ARGS to
157 call to signal handler.
159 1999-08-20 Ulrich Drepper <drepper@cygnus.com>
161 * pthread.c (__pthread_reset_main_thread): Undo last change.
162 (__pthread_kill_other_threads_np): Reset signal handlers for the
163 signals we used in the thread implementation here.
165 1999-08-19 Ulrich Drepper <drepper@cygnus.com>
167 * pthread.c (__pthread_reset_main_thread): Reset signal handlers
168 for the signals we used in the thread implementation [PR libc/1234].
170 * Versions: Export __pthread_kill_other_threads_np from libpthread
173 * signals.c: Pass sigcontext through wrapper to the user function.
175 1999-08-01 Ulrich Drepper <drepper@cygnus.com>
177 * Versions [ld.so] (GLIBC_2.0): Export __libc_internal_tsd_get and
178 __libc_internal_tsd_set.
180 1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
182 * manager.c: Remove inclusion of <linux/tasks.h> since it's not
185 1999-07-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
187 * internals.h: Align _pthread_descr_struct to 32 bytes.
188 Reported by Tim Hockin <thockin@cobaltnet.com>, close PR
191 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
193 * oldsemaphore.c (sem_compare_and_swap): Fix use of compare and
196 1999-07-09 Cristian Gafton <gafton@redhat.com>
198 * Makefile (libpthread-routines): Add oldsemaphore routine.
199 * Versions: Add sem_destroy, sem_getvalue, sem_init, sem_post,
200 sem_trywait, and sem_wait to GLIBC_2.1.
201 * oldsemaphore.c: New file.
202 * semaphore.c: Add default_symbol_versions for the changed functions.
203 (__new_sem_init): Rename from sem_init.
204 (__new_sem_post): Rename from sem_post.
205 (__new_sem_wait): Rename from sem_wait.
206 (__new_sem_trywait): Rename from sem_trywait.
207 (__new_sem_getvalue): Rename from sem_getvalue.
208 (__new_sem_destroy): Rename from sem_destroy.
210 1999-06-23 Robey Pointer <robey@netscape.com>
212 * internals.h: Added p_nextlock entry to separate queueing for a
213 lock from queueing for a CV (sometimes a thread queues on a lock
214 to serialize removing itself from a CV queue).
215 * pthread.c: Added p_nextlock to initializers.
216 * spinlock.c: Changed to use p_nextlock instead of p_nextwaiting.
218 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
220 * manager.c (pthread_handle_create): Free mmap region after stack
221 if clone failed. Patch by Kaz Kylheku <kaz@ashi.FootPrints.net>.
223 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
225 * man/pthread_cond_init.man: Correct example.
226 Reported by Tomas Berndtsson <tomas@nocrew.org>.
228 * linuxthreads.texi (Condition Variables): Likewise.
230 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
232 * sysdeps/sparc/sparc64/pt-machine.h (__compare_and_swap): Use
233 casx not cas, also successful casx returns the old value in rd
234 and not the new value.
236 1999-05-16 Xavier Leroy <Xavier.Leroy@inria.fr>
238 * manager.c: If pthread_create() is given a NULL attribute
239 and the thread manager runs with a realtime policy, set the
240 scheduling policy of the newly created thread back to SCHED_OTHER.
241 * manager.c: If the PTHREAD_INHERIT_SCHED attribute is given,
242 initialize the schedpolicy field of new_thread->p_start_args
243 to that of the calling thread.
245 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
247 * sysdeps/sparc/sparc64/pt-machine.h (__compare_and_swap): cas
248 instruction does not allow memory element to use offset.
250 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
252 * manager.c (pthread_allocate_stack): Optimize initialization of new
255 * sysdeps/pthread/bits/libc-lock.h (__libc_lock_define_initialized):
256 Don't use initializer since it is all zeroes.
257 (__libc_once_define): Likewise.
259 1999-04-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
261 * sysdeps/arm/Implies: Removed since cmpxchg/no-cmpxchg
262 doesn't exist anymore.
263 * sysdeps/i386/Implies: Likewise.
264 * sysdeps/m68k/Implies: Likewise.
265 * sysdeps/mips/Implies: Likewise.
266 * sysdeps/powerpc/Implies: Likewise.
267 * sysdeps/sparc/sparc32/Implies: Likewise.
268 * sysdeps/sparc/sparc64/Implies: Likewise.
270 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
272 * sysdeps/alpha/bits/semaphore.h: Removed.
273 * sysdeps/powerpc/bits/semaphore.h: Removed.
274 * sysdeps/pthread/cmpxchg/bits/semaphore.h: Removed.
275 * sysdeps/pthread/no-cmpxchg/bits/semaphore.h: Removed.
276 * Makefile (headers): Remove bits/semaphore.h.
278 * semaphore.h: Define _pthread_descr if necessary.
279 Don't include limits.h. Define SEM_VALUE_MAX directly.
281 (sem_t): Protect element names with leading __.
282 Add declarations for sem_close, sem_open, and sem_unlink.
283 * semaphore.c: Adjust all functions for new element names.
284 Define sem_close, sem_open, and sem_unlink.
285 * Versions (libthread): Add sem_close, sem_open, and sem_unlink for
287 * sysdeps/pthread/bits/pthreadtypes.h: Define _pthread_descr only if
290 1999-03-16 H.J. Lu <hjl@gnu.org>
292 * specific.c (pthread_key_delete): Check th->p_terminated to see
293 if the thread is running.
295 * Versions (__libc_internal_tsd_get, __libc_internal_tsd_set):
296 Added to GLIBC_2.0 for libc.so.
298 1999-02-12 H.J. Lu <hjl@gnu.org>
300 * Versions (__libc_current_sigrtmin, __libc_current_sigrtmax,
301 __libc_allocate_rtsig): Added to GLIBC_2.1.
303 * internals.h (DEFAULT_SIG_RESTART): Removed.
304 (DEFAULT_SIG_CANCEL): Removed.
306 * pthread.c (init_rtsigs, __libc_current_sigrtmin,
307 __libc_current_sigrtmax, __libc_allocate_rtsig): New functions.
308 (__pthread_sig_restart, __pthread_sig_cancel,
309 __pthread_sig_debug): Initialized.
310 (pthread_initialize): Call init_rtsigs () to initialize
313 1999-02-03 H.J. Lu <hjl@gnu.org>
315 * manager.c (__pthread_manager): Do block __pthread_sig_debug.
316 Don't restart the thread which sent REQ_DEBUG.
317 (pthread_start_thread): Check if __pthread_sig_debug > 0
320 * pthread.c (__pthread_initialize_manager): Suspend ourself
321 after sending __pthread_sig_debug to gdb instead of
322 __pthread_sig_cancel.
324 1999-01-24 H.J. Lu <hjl@gnu.org>
326 * manager.c (__pthread_manager): Delete __pthread_sig_debug
327 from mask if __pthread_sig_debug > 0.
328 (pthread_handle_create): Increment __pthread_handles_num.
330 * manager.c (pthread_handle_create): Don't pass CLONE_PTRACE to clone.
331 * pthread.c (__pthread_initialize_manager): Likewise.
333 * pthread.c (pthread_initialize): Use __libc_allocate_rtsig (1)
334 instead of __libc_allocate_rtsig (2).
335 (__pthread_initialize_manager): Send __pthread_sig_debug to gdb
336 instead of __pthread_sig_cancel.
337 (pthread_handle_sigdebug): Fix comments.
339 1999-01-21 Ulrich Drepper <drepper@cygnus.com>
341 * manager.c (pthread_allocate_stack): Set
342 __pthread_nonstandard_stacks if user-specified stack is used.
344 1999-01-16 Ulrich Drepper <drepper@cygnus.com>
346 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add _LFS_ASYNCHRONOUS_IO,
347 _LFS_LARGEFILE, _LFS64_LARGEFILE, and _LFS64_STDIO from Unix98.
349 1999-01-07 Xavier Leroy <Xavier.Leroy@inria.fr>
351 * pthread.c: Use a third signal __pthread_sig_debug distinct
352 from __pthread_sig_cancel to notify gdb when a thread is
354 * manager.c: Likewise.
355 * internals.h: Likewise.
356 * signals.c: The implementation of sigwait(s) assumed that
357 all signals in s have signal handlers already attached.
358 This is not required by the standard, so make it work
359 also if some of the signals have no handlers.
361 1999-01-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
363 * linuxthreads.texi: Remove pointers from first @node. Move old
364 @node spec inside comment.
366 1998-12-31 Ulrich Drepper <drepper@cygnus.com>
368 * sysdeps/pthread/bits/stdio-lock.h: Define _IO_lock_lock and
371 1998-12-29 Ulrich Drepper <drepper@cygnus.com>
373 * semaphore.c (sem_trywait): Don't forget to unlock the semaphore
374 lock. Patch by Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>.
376 1998-12-21 Ulrich Drepper <drepper@cygnus.com>
378 * manager.c: Threads now send __pthread_sig_cancel on termination.
379 Change clone call and signal masks.
380 * thread.c (pthread_handle_sigrestart): Remove special code for
382 (pthread_handle_sigcancel): In manager thread call
383 __pthread_manager_sighandler.
384 * sysdeps/i386/pt-machine.h (__compare_and_swap): Add memory clobber.
385 * sysdeps/i386/i686/pt-machine.h: Likewise.
386 Patches by Xavier Leroy.
388 1998-12-14 Ulrich Drepper <drepper@cygnus.com>
390 * spinlock.c (__pthread_unlock): Don't crash if called for an
391 untaken mutex. Reported by Ruslan V. Brushkoff <rus@Snif.Te.Net.UA>.
393 * Examples/ex6.c: Unbuffer stdout and reduce sleep time to reduce
396 1998-12-13 Ulrich Drepper <drepper@cygnus.com>
398 * Examples/ex3.c: Wait until all threads are started before
399 searching for the number to avoid race condition on very fast
402 1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
404 * sysdeps/pthread/pthread.h: Remove __pthread_setcanceltype
405 declaration since it's not needed.
407 * sysdeps/pthread/pthread.h: Move internal functions to ...
408 * internals.h: ...here.
410 1998-12-02 H.J. Lu <hjl@gnu.org>
412 * pthread.c (__pthread_sig_restart): Initiliaze to 0 if
414 (__pthread_sig_cancel): Likewise.
416 1998-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
418 * wrapsyscall.c: Include <sys/mman.h> for msync,
419 <stdlib.h> for system and <termios.h> for tcdrain prototype.
420 Correct msync declaration.
422 1998-11-29 Roland McGrath <roland@baalperazim.frob.com>
424 * sysdeps/pthread/bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_get,
425 __libc_tsd_set): New macros for new interface.
426 * no-tsd.c: New file, provide uninitialized defns of
427 __libc_internal_tsd_get and __libc_internal_tsd_set.
428 * Makefile (routines): Add no-tsd.
430 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
432 * internals.h: Include <bits/libc-tsd.h>, not <bits/libc-lock.h>.
433 * sysdeps/pthread/bits/libc-lock.h (__libc_internal_tsd_get,
434 __libc_internal_tsd_set): Move decls to ...
435 * sysdeps/pthread/bits/libc-tsd.h: New file for __libc_internal_tsd_*
438 * sysdeps/pthread/bits/libc-lock.h (__libc_internal_tsd_get,
439 __libc_internal_tsd_set): Make these pointers to functions, not
440 functions; remove #pragma weak decls for them.
441 * specific.c (__libc_internal_tsd_get, __libc_internal_tsd_set):
442 Define static functions and initialized pointers to them.
444 1998-11-18 Ulrich Drepper <drepper@cygnus.com>
446 * Makefile (CFLAGS-mutex.c): Define as -D__NO_WEAK_PTHREAD_ALIASES.
447 (CFLAGS-specific.c): Likewise.
448 (CFLAGS-pthread.c): Likewise.
449 (CFLAGS-ptfork.c): Likewise.
450 (CFLAGS-cancel.c): Likewise.
451 * sysdeps/pthread/bits/libc-lock.h: Don't mark __pthread_* functions
452 as weak references if __NO_WEAK_PTHREAD_ALIASES is defined.
454 * mutex.c (pthread_mutex_init): Define as strong symbol.
455 (pthread_mutex_destroy): Likewise.
456 (pthread_mutex_trylock): Likewise.
457 (pthread_mutex_lock): Likewise.
458 (pthread_mutex_unlock): Likewise.
459 (pthread_mutexattr_init): Likewise.
460 (pthread_mutexattr_destroy): Likewise.
461 (pthread_once): Likewise.
462 * ptfork.c (pthread_atfork): Likewise.
463 * specific.c (pthread_key_create): Likewise.
464 (pthread_setspecific): Likewise.
465 (pthread_getspecific): Likewise.
467 1998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
469 * linuxthreads.texi: Fix punctuation after xref.
471 1998-11-10 H.J. Lu <hjl@gnu.org>
473 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
474 if it is defined in <linux/limits.h>.
476 1998-10-29 14:28 Ulrich Drepper <drepper@cygnus.com>
478 * spinlock.h (__pthread_trylock): Define inline.
479 (__pthread_lock): Add extra parameter to declaration. Declare
480 using internal_function.
481 (__pthread_unlock): Declare using internal_function.
482 * spinlock.c (__pthread_lock): Add new parameter. Use it instead
483 of local variable self. Avoid recomputing self. Define using
485 (__pthread_trylock): Remove.
486 (__pthread_unlock): Define using internal_function.
487 * cancel.c: Adjust for __pthread_lock interface change. Use already
488 computed self value is possible.
489 * condvar.c: Likewise.
491 * manager.c: Likewise.
493 * pthread.c: Likewise.
494 * rwlock.c: Likewise.
495 * semaphore.c: Likewise.
496 * signals.c: Likewise.
498 1998-10-27 13:46 Ulrich Drepper <drepper@cygnus.com>
500 * sysdeps/pthread/pthread.h (struct _pthread_cleanup_buffer): Prepend
501 __ to field names of the struct.
502 * sysdeps/pthread/bits/pthreadtypes.h (struct _pthread_fastlock):
504 (pthread_attr_t): Likewise.
505 (pthread_cond_t): Likewise.
506 (pthread_condattr_t): Likewise.
507 (pthread_mutex_t): Likewise.
508 (pthread_mutexattr_t): Likewise.
509 (pthread_rwlock_t): Likewise.
510 (pthread_rwlockattr_t): Likewise.
511 * attr.c: Adjust for pthread.h and pthreadtypes.h change.
512 * cancel.c: Likewise.
513 * condvar.c: Likewise.
514 * manager.c: Likewise.
516 * pthread.c: Likewise.
517 * ptlongjmp.c: Likewise.
518 * rwlock.c: Likewise.
519 * spinlock.c: Likewise.
521 1998-10-09 Ulrich Drepper <drepper@cygnus.com>
523 * sysdeps/i386/pt-machine.h (get_eflags, set_eflags): Mark these
526 * sysdeps/i386/i686/pt-machine.h: Remove unused inline
529 * Makefile (libpthread-routines): Add pt-machine.
530 * pt-machine.c: New file.
531 * sysdeps/alpha/pt-machine.h: Define PT_EI as extern inline is not
532 yet defined. Use PT_EI in extern inline definitions.
533 * sysdeps/arm/pt-machine.h: Likewise.
534 * sysdeps/i386/pt-machine.h: Likewise.
535 * sysdeps/i386/i686/pt-machine.h: Likewise.
536 * sysdeps/m68k/pt-machine.h: Likewise.
537 * sysdeps/mips/pt-machine.h: Likewise.
538 * sysdeps/powerpc/pt-machine.h: Likewise.
539 * sysdeps/sparc/sparc32/pt-machine.h: Likewise.
540 * sysdeps/sparc/sparc64/pt-machine.h: Likewise.
542 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
544 * semaphore.h: Include <sys/types.h> so that _pthread_descr
547 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
549 * sysdeps/sparc/sparc32/pt-machine.h (INIT_THREAD_SELF): Add nr
551 * sysdeps/sparc/sparc64/pt-machine.h (INIT_THREAD_SELF): Likewise.
553 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
555 * linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h: Add
556 multiple inclusion guard.
558 1998-09-02 11:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
560 * signals.c (sigaction): Check that sig is less than NSIG to avoid
561 array index overflow.
563 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
565 * sysdeps/pthread/semaphore.h: New file.
567 1998-09-06 09:08 Ulrich Drepper <drepper@cygnus.com>
569 * sysdeps/pthread/bits/libc-lock.h (enum __libc_tsd_key_t): Add
570 _LIBC_TSD_KEY_DL_ERROR.
572 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
574 * sysdeps/i386/i686/pt-machine.h (testandset): Add memory clobber.
575 * sysdeps/i386/pt-machine.h: Likewise.
576 Suggested by Roland McGrath.
578 1998-08-28 13:58 Ulrich Drepper <drepper@cygnus.com>
580 * internals.h: Also define THREAD_GETMEM_NC and THREAD_SETMEM_NC to
581 access thread data with non-constant offsets.
582 * specific.c: Use THREAD_GETMEM_NC and THREAD_SETMEM_NC where
585 * sysdeps/i386/useldt.h: Fix typo. Add THREAD_GETMEM_NC and
586 THREAD_SETMEM_NC definitions.
588 * sysdeps/sparc/sparc32/pt-machine.h: Define THREAD_GETMEM_NC and
590 * sysdeps/sparc/sparc64/pt-machine.h: Likewise.
592 1998-08-26 15:46 Ulrich Drepper <drepper@cygnus.com>
594 * internals.h: Define THREAD_GETMEM and THREAD_SETMEM to default if
596 (struct _pthread_descr_struct): Add p_self and p_nr field.
597 * manager.c (__pthread_handles): Define second element to point
599 (__pthread_handles_num): Initialize to 2.
600 (__pthread_manager): Use INIT_THREAD_SELF with two arguments.
601 (pthread_start_thread): Likewise.
602 (pthread_handle_create): Start search for free slot at entry 2.
603 Initialize new fields p_self and p_nr.
604 Call __clone with CLONE_PTRACE if available.
605 (pthread_free): Call FREE_THREAD_SELF if available.
606 * pthread.c (__pthread_initial_thread): Initialize new fields.
607 (__pthread_manager_thread): Likewise.
608 (__pthread_initialize_manager): Call __clone with CLONE_PTRACE.
610 * cancel.c: Use THREAD_GETMEM and THREAD_SETMEM to access the
611 elements of the thread descriptor.
612 * condvar.c: Likewise.
615 * manager.c: Likewise.
616 * pthread.c: Likewise.
617 * ptlongjmp.c: Likewise.
618 * semaphore.c: Likewise.
619 * signals.c: Likewise.
620 * specific.c: Likewise.
621 * spinlock.c: Likewise.
623 * sysdeps/alpha/pt-machine.h (INIT_THREAD_SELF): Add extra parameter.
625 * sysdeps/i386/useldt.h: New file.
626 * sysdeps/i386/i686/pt-machine.h: Show how to use this file.
628 * sysdeps/sparc/sparc32/pt-machine.h: Define THREAD_GETMEM and
629 THREAD_SETMEM using __thread_self.
630 * sysdeps/sparc/sparc64/pt-machine.h: Likewise.
632 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
634 * spinlock.c (__pthread_lock): Reset p_nextwaiting to NULL if it
635 turned out that we didn't need to queue after all.
637 1998-08-22 Geoff Keating <geoffk@ozemail.com.au>
639 * sysdeps/powerpc/pt-machine.h: Remove testandset, it's not used
640 and wastes space; correct types.
642 1998-08-08 11:18 H.J. Lu <hjl@gnu.org>
644 * signals.c (sigaction): Handle NULL argument.
646 1998-08-04 Ulrich Drepper <drepper@cygnus.com>
648 * sysdeps/unix/sysv/linux/bits/sigthread.h: Use __sigset_t instead
651 1998-08-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
653 * Makefile (linuxthreads-version): Extract correct number from
656 1998-07-29 Xavier Leroy <Xavier.Leroy@inria.fr>
658 * Banner: Bump version number to 0.8
659 * FAQ.html: Many updates, in particular w.r.t. debugging.
660 * manager.c: Support for non-default stacksize for
661 LinuxThreads-allocated stacks;
662 don't use guard pages for stacks with default size, rely on
663 rlimit(RLIMIT_STACK) instead (it's cheaper).
665 * cancel.c: Use __pthread_sig_cancel and __pthread_sig_restart
666 everywhere instead of PTHREAD_SIG_CANCEL and PTHREAD_SIG_RESTART.
667 * condvar.c: Likewise.
668 * internals.h: Likewise.
669 * restart.h: Likewise.
670 * signals.c: Likewise.
671 * pthread.c: Likewise; set rlimit(RLIMIT_STACK) as we need it.
673 1998-07-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
675 * weaks.c: Define pthread_mutexattr_[sg]ettype instead of
676 __pthread_mutexattr_[sg]ettype. Add more weak aliases.
677 * Versions: Put __pthread_mutexattr_settype under version
678 GLIBC_2.0. Don't export __pthread_mutexattr_setkind_np and
679 __pthread_mutexattr_gettype.
681 1998-07-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
683 * sysdeps/pthread/bits/libc-lock.h: Make
684 __pthread_mutexattr_settype weak. Don't make
685 __pthread_mutexattr_setkind_np weak.
687 1998-07-16 10:52 Ulrich Drepper <drepper@cygnus.com>
689 * manager.c (pthread_handle_create): Check whether sched_setscheduler
690 call can succeed here.
692 * mutex.c: Define __pthread_mutexattr_settype and make
693 __pthread_mutexattr_setkind_np an alias.
694 Likewise for __pthread_mutexattr_gettype.
696 1998-07-15 11:00 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
698 * attr.c (pthread_attr_setschedpolicy): Don't check whether caller
701 1998-07-14 19:38 Ulrich Drepper <drepper@cygnus.com>
703 * sysdeps/pthread/bits/libc-lock.h: Define __libc_cleanup_end.
705 1998-07-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
707 * Examples/ex6.c: Include <unistd.h> for usleep.
709 1998-06-13 11:04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
711 * Examples/ex4.c (main): Use exit, not pthread_exit.
713 1998-07-09 13:39 Ulrich Drepper <drepper@cygnus.com>
715 * Versions: Add __pthread_mutexattr_gettype and
716 __pthread_mutexattr_settype.
717 * lockfile.c: Use __pthread_mutexattr_settype instead of
718 __pthread_mutexattr_setkind_np.
719 * mutex.c: Define __pthread_mutexattr_gettype and
720 __pthread_mutexattr_settype.
722 * sysdeps/pthread/pthread.h: Declare __pthread_mutexattr_gettype and
723 __pthread_mutexattr_settype.
724 * sysdeps/pthread/bits/libc-lock.h (__libc_lock_init_recursive):
725 Use __pthread_mutexattr_settype.
727 1998-07-08 22:26 Ulrich Drepper <drepper@cygnus.com>
729 * Versions: Add pthread_mutexattr_gettype, pthread_mutexattr_settype.
730 * mutex.c: Define weak alias pthread_mutexattr_gettype and
731 pthread_mutexattr_settype.
732 * sysdeps/pthread/pthread.h: Declare these functions.
733 Move pthread_sigmask and pthread_kill declaration in separate header.
734 * sysdeps/unix/sysv/linux/bits/sigthread.h: New file.
736 1998-07-07 15:20 Ulrich Drepper <drepper@cygnus.com>
738 * Makefile: Add rules to compile and run tests.
739 * Examples/ex1.c: Little changes to fix warnings.
740 * Examples/ex2.c: Likewise.
741 * Examples/ex3.c: Likewise.
742 * Examples/ex4.c: Likewise.
743 * Examples/ex5.c: Likewise.
744 * Examples/ex6.c: New file.
746 1998-07-05 11:54 Ulrich Drepper <drepper@cygnus.com>
748 * Versions: Add pthread_attr_init to GLIBC_2.1 version in libc.
750 1998-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
752 * attr.c: Include <string.h>.
754 1998-06-30 11:47 Ulrich Drepper <drepper@cygnus.com>
756 * attr.c: Include errno.h. Use memcpy to copy sched_param.
757 * internals.h: Include limits.h.
758 * manager.c: Use memcpy to copy sched_param.
759 * ptfork.c: Include errno.h.
760 * pthread.c: Likewise.
761 * semaphore.c: Likewise.
762 * specific.c: Likewise.
763 * spinlock.h: Likewise.
764 * sysdeps/pthread/pthread.h: Include only allowed headers. Move
765 type definition to ...
766 * sysdeps/pthread/bits/pthreadtypes.h: ...here. New file.
768 1998-06-29 12:34 Ulrich Drepper <drepper@cygnus.com>
770 * sysdeps/pthread/pthread.h: Use __PMT not __P for function pointers.
772 * sysdeps/pthread/pthread.h: Define various PTHREAD_* symbols also
773 as macros as demanded in POSIX.1, Annex C.
775 1998-06-29 12:29 Ulrich Drepper <drepper@cygnus.com>
777 * internals.h (struct pthread_request): For free use pthread_t
778 instead of pthread_descr.
779 * join.c (pthread_join): Pass thread_id, not th to manager.
780 (pthread_detach): Likewise.
781 * manager.c (__pthread_manager): Except thread ID in FREE_REQ case.
782 (pthread_exited): Remove detached queue code.
783 (pthread_handle_free): Expect thread ID parameter and use it to
784 validate the thread decsriptor. Don't use detached queue.
785 Patches by Xavier Leroy.
787 1998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
789 * libpthread.map: Export accept, longjmp, sigaction, siglongjmp,
790 _IO_flockfile, _IO_ftrylockfile, _IO_funlockfile,
791 __pthread_atfork, __pthread_key_create, __pthread_once.
792 * internals.h: Doc fix.
793 * pthread.c (__pthread_initialize): Define again.
795 1998-06-26 Ulrich Drepper <drepper@cygnus.com>
797 * manager.c (pthread_exited): If thread is not detached put it on
799 (pthread_handle_free): If thread is not on list with living threads
800 search on list with detached threads.
802 * sysdeps/pthread/pthread.h (PTHREAD_RWLOCK_INITIALIZER): Correct
803 for new definition of pthread_rwlock_t.
805 * spinlock.c: Correct test whether to compile
806 __pthread_compare_and_swap or not.
808 1998-06-25 19:27 Ulrich Drepper <drepper@cygnus.com>
810 * attr.c: Finish user stack support. Change locking code to be safe
811 in situations with different priorities.
812 * cancel.c: Likewise.
813 * condvar.c: Likewise.
814 * internals.h: Likewise.
816 * manager.c: Likewise.
818 * pthread.c: Likewise.
819 * ptlongjmp.c: Likewise.
821 * rwlock.c: Likewise.
822 * semaphore.c: Likewise.
823 * semaphore.h: Likewise.
824 * signals.c: Likewise.
825 * spinlock.c: Likewise.
826 * spinlock.h: Likewise.
827 * sysdeps/pthread/pthread.h: Likewise.
828 Patches by Xavier Leroy.
830 * sysdeps/i386/i686/pt-machine.h: New file.
832 1998-06-25 Ulrich Drepper <drepper@cygnus.com>
834 * sysdeps/pthread/pthread.h: Make [sg]et_stacksize and
835 [sg]et_stackaddr prototypes always available.
837 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
838 _POSIX_THREAD_ATTR_STACKSIZE and _POSIX_THREAD_ATTR_STACKADDR.
840 1998-06-24 Ulrich Drepper <drepper@cygnus.com>
842 * manager.c (pthread_free): Undo patch from 980430.
843 Reported by David Wragg <dpw@doc.ic.ac.uk>.
845 1998-06-09 15:07 Ulrich Drepper <drepper@cygnus.com>
847 * manager.c: Define __pthread_manager_adjust_prio and use it to
848 increase priority when needed.
849 * internals.h: Add prototype for __pthread_manager_adjust_prio.
850 * mutex.c: Optimize mutexes to wake up only one thread.
851 * pthread.c: Move PID of manager for global variable in structure
853 Patches by Xavier Leroy.
855 1998-06-07 13:47 Ulrich Drepper <drepper@cygnus.com>
857 * sysdeps/pthread/bits/libc-lock.h: Optimize cleanup handlers a bit.
859 1998-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
861 * attr.c: Correct typo.
863 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
865 * manager.c (pthread_free): Unmap guard before the stack.
866 Patch by Matthias Urlichs.
868 1998-04-30 Ulrich Drepper <drepper@cygnus.com>
870 * manager.c (pthread_free): Detect already free child.
871 Patch by Xavier Leroy, reported by Matthias Urlichs.
873 1998-04-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
875 * Makefile (linuxthreads-version): Renamed back from
878 1998-04-21 Ulrich Drepper <drepper@cygnus.com>
880 * ptlongjmp.c: Add prototypes for __libc_siglongjmp and
883 1998-04-20 14:55 Ulrich Drepper <drepper@cygnus.com>
885 * Makefile (libpthread-routines): Add ptlongjmp and spinlock.
886 * internals.h: Add definitions for new spinlock implementation.
887 * ptlongjmp.c: New file.
888 * spinlock.c: New file.
889 * spinlock.h (acquire): Don't reschedule using __sched_yield, use
890 new function __pthread_acquire to prevent deadlocks with thread
891 with different priorities.
892 Patches by Xavier Leroy <Xavier.Leroy@inria.fr>.
894 1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
896 * manager.c (__pthread_manager): Reduce first argument to select
897 to include just the needed file descriptor.
899 1998-03-17 00:06 Ulrich Drepper <drepper@cygnus.com>
901 * manager.c: Fix last patch which caused core dumps.
903 * pthread.c: Correctly handle missing SIGRTMIN.
905 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
907 * libpthread.map: Add __libc_internal_tsd_get and
908 __libc_internal_tsd_set. Add missing cancelable functions. Export
909 libc internal versions of the cancelable functions.
911 1998-03-13 16:51 Ulrich Drepper <drepper@cygnus.com>
913 * weaks.c: Define pthread_attr_init as GLIBC_2.0 and GLIBC_2.1.
915 1998-03-13 00:46 Ulrich Drepper <drepper@cygnus.com>
917 * attr.c: Implement pthread_attr_[gs]etguardsize,
918 pthread_attr_[gs]setstackaddr, pthread_attr_[gs]etstacksize.
919 Change pthread_attr_init to have two interfaces.
920 * internals.h (struct _pthread_descr_struct): Add new fields for
922 * libpthread.map: Add names in GLIBC_2.1 section.
923 * manager.c (pthread_handle_create): Implement guardsize and
925 (pthread_free): Likewise.
926 * pthread.c (pthread_create): Add new interface for changed
928 * sysdeps/pthread/pthread.h: Add prototypes for new functions.
929 * sysdeps/unix/sysv/linux/bits/local_lim.h: Add definition of
932 1998-03-11 00:42 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
934 * manager.c: Enable resetting of the thread scheduling policy
935 to SCHED_OTHER when the parent thread has a different one.
937 1998-02-01 13:51 Ulrich Drepper <drepper@cygnus.com>
939 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
940 _POSIX_ASYNCHRONOUS_IO.
942 * sysdeps/pthread/pthread.h: Define bits for Unix98 variants of
944 * mutex.c: Implement new mutex types.
946 * internals.h: Include <signal.h>.
948 * libpthread.map: Add __erno_location and __h_errno_location.
950 * errno.c: Return pointer to variable actually in use. This might
951 not be the one in the thread structure.
952 * internals.h (struct _pthread_descr_struct): Add new fields p_errnop
954 * manager.c (__pthread_manager): Set p_errnop and p_h_errnop member
955 of manager thread structure.
956 (pthread_handle_create): Set p_errnop and p_h_errnop members for new
958 * pthread.c: Adapt initializer for thread structures.
959 (__pthread_initial_thread): Set p_errnop and p_h_errnop member.
960 (__pthread_reset_main_thread): Reset p_errnop and p_h_errnop of
961 current thread to global variables.
963 1998-01-31 17:27 Ulrich Drepper <drepper@cygnus.com>
965 * rwlock.c: New file.
966 * Makefile (libpthread-routines): Add rwlock.
967 * sysdeps/pthread/pthread.h: Define data structures and declare
969 * libpthread.map: Add new functions.
971 1997-12-18 13:50 Philip Blundell <pb@nexus.co.uk>
973 * sysdeps/arm/pt-machine.h: New file; add ARM support.
974 * sysdeps/arm/Implies: likewise.
975 * README: Document it.
977 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
979 * signals.c: Remove unneeded initializer for sigwaited, saving a
982 1997-04-11 01:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
984 * semaphore.c (sem_init): Set sem_spinlock only if available.
986 1997-12-04 01:48 Ulrich Drepper <drepper@cygnus.com>
988 * mutex.c: Implement PTHREAD_MUTEX_CHECKERROR.
989 * sysdeps/pthread/pthread.h: Define PTHREAD_MUTEX_CHECKERROR.
991 * Makefile: Update from LinuxThreads 0.7.
992 * internals.h. Likewise.
993 * manager.c: Likewise.
995 * pthread.c: Likewise.
996 * signals.c: Likewise.
997 * specific.c: Likewise.
998 * Examples/ex3.c: Likewise.
1000 1997-11-20 18:13 Ulrich Drepper <drepper@cygnus.com>
1002 * pthread.c (__pthread_reset_main_thread): Close pipe only if still
1005 1997-10-29 05:38 Ulrich Drepper <drepper@cygnus.com>
1007 * wrapsyscall.c: Add socket functions which are also cancelation
1010 1997-10-19 21:40 Wolfram Gloger <wg@wolfram.dent.med.uni-muenchen.de>
1012 * specific.c (__libc_internal_tsd_set, __libc_internal_tsd_get):
1013 New functions for fast thread specific data within libc.
1015 * internals.h: Add new array p_libc_specific to struct
1016 _pthread_descr_struct.
1018 * sysdeps/pthread/bits/libc-lock.h: Declare new functions.
1020 1997-10-13 05:39 Ulrich Drepper <drepper@cygnus.com>
1022 * semaphore.h: Add __BEGIN_DECLS/__END_DECLS.
1023 Reported by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1025 1997-08-29 03:05 Ulrich Drepper <drepper@cygnus.com>
1027 * internals.h (struct _pthread_descr_struct): Add definitions for
1028 two-level specific key handling.
1029 * manager.c (pthread_handle_create): Initialize specific memory array.
1030 * specific.c: Implement two-level key handling.
1031 * weaks.c: Don't provide dummy key handling.
1032 * sysdeps/pthread/bits/libc-lock.h: Typedef __libc_lock_t (no #define).
1033 Add definition of __libc_key_t.
1034 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define PTHREAD_KEYS_MAX
1036 Add definition of _POSIX_THREAD_DESTRUCTOR_ITERATIONS and
1037 PTHREAD_DESTRUCTOR_ITERATIONS.
1039 * manager.c (pthread_handle_create): Compare mmap result with
1042 * ptfork.c: Rename to __pthread_atfork and make old name a weak alias.
1043 * sysdeps/pthread/bits/pthread.h: Add prototype for __pthread_atfork.
1045 1997-08-22 19:04 Richard Henderson <rth@cygnus.com>
1047 sysdeps/sparc -> sysdeps/sparc/sparc32
1048 sysdeps/sparc64 -> sysdeps/sparc/sparc64
1050 * internals.h: Change definition of THREAD_SELF to be an expression,
1051 not a statement that did a return.
1052 * sysdeps/alpha/pt-machine.h (THREAD_SELF): Update accordingly.
1053 * sysdeps/sparc/sparc32/pt-machine.h (THREAD_SELF, INIT_THREAD_SELF):
1054 Follow Solaris and use a "system reserved" register (%g6) to hold
1055 the thread descriptor.
1056 * sysdeps/sparc/sparc64/pt-machine.h: Likewise.
1058 1997-08-03 00:09 Ulrich Drepper <drepper@cygnus.com>
1060 * mutex.c: Correct pthread_once. Patch by Xavier Leroy.
1061 * sysdeps/pthread/pthread.h: Add prototype for __pthread_once.
1062 * sysdeps/pthread/bits/pthread.h: Add macros for __libc_once.
1064 * semaphore.c: Include spinlock.h only when needed.
1066 * specific.c (__pthread_setsepcific, __pthread_getspecific): Reject
1067 keys for entries not in use.
1069 * weaks.c: Implement key handling functions for real.
1071 1997-06-29 01:04 Richard Henderson <richard@gnu.ai.mit.edu>
1073 Initial sparc64-linux support:
1074 * linuxthreads/sysdeps/sparc64/Implies: New file.
1075 * linuxthreads/sysdeps/sparc64/pt-machine.h: Likewise.
1077 1997-06-29 00:48 Ulrich Drepper <drepper@cygnus.com>
1079 * semaphore.c: Include spinlock.h at correct place.
1082 1997-06-13 10:06 Richard Henderson <rth@tamu.edu>
1084 The Great Bit File Move:
1085 * sysdeps/alpha/semaphorebits.h: -> .../bits/semaphore.h.
1086 * sysdeps/powerpc/semaphorebits.h: Likewise.
1087 * sysdeps/pthread/cmpxchg/semaphorebits.h: Likewise.
1088 * sysdeps/pthread/no-cmpxchg/semaphorebits.h: Likewise.
1089 * sysdeps/pthread/libc-lock.h: -> bits/
1090 * sysdeps/pthread/stdio-lock.h: Likewise.
1091 * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
1092 * sysdeps/unix/sysv/linux/posix_opt.h: Likewise.
1093 * semaphore.h: Likewise.
1094 * sysdeps/pthread/pthread.h: Likewise.
1096 * lockfile.c: <foo.h> -> <bits/foo.h>.
1097 * semaphore.h: Likewise.
1099 * Makefile: (headers): foo.h -> bits/foo.h.
1100 * sysdeps/pthread/Makefile: Likewise.
1102 1997-04-11 01:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1104 * semaphore.c (sem_init): Set sem_spinlock only if available.
1106 * sysdeps/m68k/pt-machine.h (testandset, __compare_and_swap): Fix
1109 1997-04-09 03:00 Ulrich Drepper <drepper@cygnus.com>
1111 Update from LinuxThreads 0.6.
1113 * attr.c (pthread_attr_getdetachstate): Use __sched_get_priority_max
1114 and __sched_get_priority_min instead of names without `__'.
1116 * manager.c: Rewrite large parts to implement opaque pthread_t.
1118 * cancel.c: Adapt for opaque pthread_t type.
1119 * condvar.c: Likewise.
1120 * errno.c: Likewise.
1122 * mutex.c: Likewise.
1123 * pthread.c: Likewise.
1124 * signals.c: Likewise.
1125 * specific.c: Likewise.
1126 * restart.h: Likewise.
1127 * queue.h: Likewise.
1128 * Examples/ex3.c: Likewise.
1129 * Examples/ex4.c: Likewise.
1130 * sysdeps/pthread/pthread.h: Likewise.
1132 * pthread.c: Accumulate time for all threads in thread manager.
1134 * semaphore.c: Implement fallback implementation for architectures
1135 sometimes missing compare-exchange operations.
1137 * cancel.c (pthread_cancel): Validate handle argument.
1138 * join.c (pthread_join): Likewise.
1139 (pthread_detach): Likewise.
1140 * signals.c (pthread_kill): Likewise.
1142 * spinlock.h (acquire): Use __sched_yield not sched_yield.
1144 * queue.h (enqueue): Enqueue thread according to priority.
1146 * internals.c (struct pthread_start_args): New struct for passing
1147 args to cloning function.
1148 (struct _pthread): Rename to _pthread_descr_struct and adapt for
1151 * Examples/Makefile (clean): Pass -f option to rm.
1153 * sysdeps/i386/pt-machine.h: Add check for compare-exchange instruction
1154 and define TEST_FOR_COMPARE_AND_SWAP.
1155 * sysdeps/i386/i486/pt-machine.h: Removed.
1157 * sysdeps/unix/sysv/linux/local_lim.h (PTHREAD_THREADS_MAX): Increase
1160 1997-04-04 16:38 Ulrich Drepper <drepper@cygnus.com>
1162 * restart.h (suspend): Clear p_signal before suspending.
1163 (suspend_with_cancellation): Likewise.
1164 Patch by Xavier Leroy <Xavier.Leroy@inria.fr>.
1166 * weaks.c: Make __pthread_key_create return 1.
1167 * sysdeps/pthread/libc-lock.h: Define __libc_key_create,
1168 __libc_getspecific, __libc_setspecific, and __libc_key_t.
1169 * sysdeps/pthread/stdio-lock.h: Don't care for implementation not
1172 1997-03-19 15:13 Miguel de Icaza <miguel@nuclecu.unam.mx>
1174 * sysdeps/sparc/pt-machine (RELEASE): Fix.
1176 1997-03-01 07:55 Geoff Keating <geoffk@ozemail.com.au>
1178 * sysdeps/powerpc/Implies: Added.
1179 * sysdeps/powerpc/pt-machine.h: Added.
1180 * sysdeps/powerpc/semaphorebits.h: Added.
1182 1997-01-22 01:22 Ulrich Drepper <drepper@cygnus.com>
1184 * linuxtheads/pthread.c (__pthread_initial_thread): Correct
1186 (__pthread_manager_thread): Likewise.
1187 Reported by Andreas Jaeger.
1189 1997-01-18 22:15 Richard Henderson <rth@tamu.edu>
1191 Since sigset_t no longer fits in a register, we can't pass in the
1192 thread's initial mask so easily. Take this opportunity to simplify
1193 the clone implementation by only accepting a single void* argument.
1195 * linuxthreads/manager.c (__pthread_manager): Put thread vitals
1196 in the thread struct instead of as arguments through clone.
1197 (pthread_start_thread): Look for them there.
1198 * linuxthreads/internals.h (struct _pthread): Add p_initial_fn,
1199 p_initial_fn_arg, p_initial_mask. Fix __pthread_manager proto.
1200 * linuxthreads/pthread.c (pthread_initialize_manager): Revise