1 1998-09-02 11:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3 * signals.c (sigaction): Check that sig is less than NSIG to avoid
6 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
8 * sysdeps/pthread/semaphore.h: New file.
10 1998-09-06 09:08 Ulrich Drepper <drepper@cygnus.com>
12 * sysdeps/pthread/bits/libc-lock.h (enum __libc_tsd_key_t): Add
13 _LIBC_TSD_KEY_DL_ERROR.
15 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
17 * sysdeps/i386/i686/pt-machine.h (testandset): Add memory clobber.
18 * sysdeps/i386/pt-machine.h: Likewise.
19 Suggested by Roland McGrath.
21 1998-08-28 13:58 Ulrich Drepper <drepper@cygnus.com>
23 * internals.h: Also define THREAD_GETMEM_NC and THREAD_SETMEM_NC to
24 access thread data with non-constant offsets.
25 * specific.c: Use THREAD_GETMEM_NC and THREAD_SETMEM_NC where
28 * sysdeps/i386/useldt.h: Fix typo. Add THREAD_GETMEM_NC and
29 THREAD_SETMEM_NC definitions.
31 * sysdeps/sparc/sparc32/pt-machine.h: Define THREAD_GETMEM_NC and
33 * sysdeps/sparc/sparc64/pt-machine.h: Likewise.
35 1998-08-26 15:46 Ulrich Drepper <drepper@cygnus.com>
37 * internals.h: Define THREAD_GETMEM and THREAD_SETMEM to default if
39 (struct _pthread_descr_struct): Add p_self and p_nr field.
40 * manager.c (__pthread_handles): Define second element to point
42 (__pthread_handles_num): Initialize to 2.
43 (__pthread_manager): Use INIT_THREAD_SELF with two arguments.
44 (pthread_start_thread): Likewise.
45 (pthread_handle_create): Start search for free slot at entry 2.
46 Initialize new fields p_self and p_nr.
47 Call __clone with CLONE_PTRACE if available.
48 (pthread_free): Call FREE_THREAD_SELF if available.
49 * pthread.c (__pthread_initial_thread): Initialize new fields.
50 (__pthread_manager_thread): Likewise.
51 (__pthread_initialize_manager): Call __clone with CLONE_PTRACE.
53 * cancel.c: Use THREAD_GETMEM and THREAD_SETMEM to access the
54 elements of the thread descriptor.
55 * condvar.c: Likewise.
58 * manager.c: Likewise.
59 * pthread.c: Likewise.
60 * ptlongjmp.c: Likewise.
61 * semaphore.c: Likewise.
62 * signals.c: Likewise.
63 * specific.c: Likewise.
64 * spinlock.c: Likewise.
66 * sysdeps/alpha/pt-machine.h (INIT_THREAD_SELF): Add extra parameter.
68 * sysdeps/i386/useldt.h: New file.
69 * sysdeps/i386/i686/pt-machine.h: Show how to use this file.
71 * sysdeps/sparc/sparc32/pt-machine.h: Define THREAD_GETMEM and
72 THREAD_SETMEM using __thread_self.
73 * sysdeps/sparc/sparc64/pt-machine.h: Likewise.
75 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
77 * spinlock.c (__pthread_lock): Reset p_nextwaiting to NULL if it
78 turned out that we didn't need to queue after all.
80 1998-08-22 Geoff Keating <geoffk@ozemail.com.au>
82 * sysdeps/powerpc/pt-machine.h: Remove testandset, it's not used
83 and wastes space; correct types.
85 1998-08-08 11:18 H.J. Lu <hjl@gnu.org>
87 * signals.c (sigaction): Handle NULL argument.
89 1998-08-04 Ulrich Drepper <drepper@cygnus.com>
91 * sysdeps/unix/sysv/linux/bits/sigthread.h: Use __sigset_t instead
94 1998-08-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
96 * Makefile (linuxthreads-version): Extract correct number from
99 1998-07-29 Xavier Leroy <Xavier.Leroy@inria.fr>
101 * Banner: Bump version number to 0.8
102 * FAQ.html: Many updates, in particular w.r.t. debugging.
103 * manager.c: Support for non-default stacksize for
104 LinuxThreads-allocated stacks;
105 don't use guard pages for stacks with default size, rely on
106 rlimit(RLIMIT_STACK) instead (it's cheaper).
108 * cancel.c: Use __pthread_sig_cancel and __pthread_sig_restart
109 everywhere instead of PTHREAD_SIG_CANCEL and PTHREAD_SIG_RESTART.
110 * condvar.c: Likewise.
111 * internals.h: Likewise.
112 * restart.h: Likewise.
113 * signals.c: Likewise.
114 * pthread.c: Likewise; set rlimit(RLIMIT_STACK) as we need it.
116 1998-07-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
118 * weaks.c: Define pthread_mutexattr_[sg]ettype instead of
119 __pthread_mutexattr_[sg]ettype. Add more weak aliases.
120 * Versions: Put __pthread_mutexattr_settype under version
121 GLIBC_2.0. Don't export __pthread_mutexattr_setkind_np and
122 __pthread_mutexattr_gettype.
124 1998-07-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
126 * sysdeps/pthread/bits/libc-lock.h: Make
127 __pthread_mutexattr_settype weak. Don't make
128 __pthread_mutexattr_setkind_np weak.
130 1998-07-16 10:52 Ulrich Drepper <drepper@cygnus.com>
132 * manager.c (pthread_handle_create): Check whether sched_setscheduler
133 call can succeed here.
135 * mutex.c: Define __pthread_mutexattr_settype and make
136 __pthread_mutexattr_setkind_np an alias.
137 Likewise for __pthread_mutexattr_gettype.
139 1998-07-15 11:00 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
141 * attr.c (pthread_attr_setschedpolicy): Don't check whether caller
144 1998-07-14 19:38 Ulrich Drepper <drepper@cygnus.com>
146 * sysdeps/pthread/bits/libc-lock.h: Define __libc_cleanup_end.
148 1998-07-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
150 * Examples/ex6.c: Include <unistd.h> for usleep.
152 1998-06-13 11:04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
154 * Examples/ex4.c (main): Use exit, not pthread_exit.
156 1998-07-09 13:39 Ulrich Drepper <drepper@cygnus.com>
158 * Versions: Add __pthread_mutexattr_gettype and
159 __pthread_mutexattr_settype.
160 * lockfile.c: Use __pthread_mutexattr_settype instead of
161 __pthread_mutexattr_setkind_np.
162 * mutex.c: Define __pthread_mutexattr_gettype and
163 __pthread_mutexattr_settype.
165 * sysdeps/pthread/pthread.h: Declare __pthread_mutexattr_gettype and
166 __pthread_mutexattr_settype.
167 * sysdeps/pthread/bits/libc-lock.h (__libc_lock_init_recursive):
168 Use __pthread_mutexattr_settype.
170 1998-07-08 22:26 Ulrich Drepper <drepper@cygnus.com>
172 * Versions: Add pthread_mutexattr_gettype, pthread_mutexattr_settype.
173 * mutex.c: Define weak alias pthread_mutexattr_gettype and
174 pthread_mutexattr_settype.
175 * sysdeps/pthread/pthread.h: Declare these functions.
176 Move pthread_sigmask and pthread_kill declaration in separate header.
177 * sysdeps/unix/sysv/linux/bits/sigthread.h: New file.
179 1998-07-07 15:20 Ulrich Drepper <drepper@cygnus.com>
181 * Makefile: Add rules to compile and run tests.
182 * Examples/ex1.c: Little changes to fix warnings.
183 * Examples/ex2.c: Likewise.
184 * Examples/ex3.c: Likewise.
185 * Examples/ex4.c: Likewise.
186 * Examples/ex5.c: Likewise.
187 * Examples/ex6.c: New file.
189 1998-07-05 11:54 Ulrich Drepper <drepper@cygnus.com>
191 * Versions: Add pthread_attr_init to GLIBC_2.1 version in libc.
193 1998-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
195 * attr.c: Include <string.h>.
197 1998-06-30 11:47 Ulrich Drepper <drepper@cygnus.com>
199 * attr.c: Include errno.h. Use memcpy to copy sched_param.
200 * internals.h: Include limits.h.
201 * manager.c: Use memcpy to copy sched_param.
202 * ptfork.c: Include errno.h.
203 * pthread.c: Likewise.
204 * semaphore.c: Likewise.
205 * specific.c: Likewise.
206 * spinlock.h: Likewise.
207 * sysdeps/pthread/pthread.h: Include only allowed headers. Move
208 type definition to ...
209 * sysdeps/pthread/bits/pthreadtypes.h: ...here. New file.
211 1998-06-29 12:34 Ulrich Drepper <drepper@cygnus.com>
213 * sysdeps/pthread/pthread.h: Use __PMT not __P for function pointers.
215 * sysdeps/pthread/pthread.h: Define various PTHREAD_* symbols also
216 as macros as demanded in POSIX.1, Annex C.
218 1998-06-29 12:29 Ulrich Drepper <drepper@cygnus.com>
220 * internals.h (struct pthread_request): For free use pthread_t
221 instead of pthread_descr.
222 * join.c (pthread_join): Pass thread_id, not th to manager.
223 (pthread_detach): Likewise.
224 * manager.c (__pthread_manager): Except thread ID in FREE_REQ case.
225 (pthread_exited): Remove detached queue code.
226 (pthread_handle_free): Expect thread ID parameter and use it to
227 validate the thread decsriptor. Don't use detached queue.
228 Patches by Xavier Leroy.
230 1998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
232 * libpthread.map: Export accept, longjmp, sigaction, siglongjmp,
233 _IO_flockfile, _IO_ftrylockfile, _IO_funlockfile,
234 __pthread_atfork, __pthread_key_create, __pthread_once.
235 * internals.h: Doc fix.
236 * pthread.c (__pthread_initialize): Define again.
238 1998-06-26 Ulrich Drepper <drepper@cygnus.com>
240 * manager.c (pthread_exited): If thread is not detached put it on
242 (pthread_handle_free): If thread is not on list with living threads
243 search on list with detached threads.
245 * sysdeps/pthread/pthread.h (PTHREAD_RWLOCK_INITIALIZER): Correct
246 for new definition of pthread_rwlock_t.
248 * spinlock.c: Correct test whether to compile
249 __pthread_compare_and_swap or not.
251 1998-06-25 19:27 Ulrich Drepper <drepper@cygnus.com>
253 * attr.c: Finish user stack support. Change locking code to be safe
254 in situations with different priorities.
255 * cancel.c: Likewise.
256 * condvar.c: Likewise.
257 * internals.h: Likewise.
259 * manager.c: Likewise.
261 * pthread.c: Likewise.
262 * ptlongjmp.c: Likewise.
264 * rwlock.c: Likewise.
265 * semaphore.c: Likewise.
266 * semaphore.h: Likewise.
267 * signals.c: Likewise.
268 * spinlock.c: Likewise.
269 * spinlock.h: Likewise.
270 * sysdeps/pthread/pthread.h: Likewise.
271 Patches by Xavier Leroy.
273 * sysdeps/i386/i686/pt-machine.h: New file.
275 1998-06-25 Ulrich Drepper <drepper@cygnus.com>
277 * sysdeps/pthread/pthread.h: Make [sg]et_stacksize and
278 [sg]et_stackaddr prototypes always available.
280 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
281 _POSIX_THREAD_ATTR_STACKSIZE and _POSIX_THREAD_ATTR_STACKADDR.
283 1998-06-24 Ulrich Drepper <drepper@cygnus.com>
285 * manager.c (pthread_free): Undo patch from 980430.
286 Reported by David Wragg <dpw@doc.ic.ac.uk>.
288 1998-06-09 15:07 Ulrich Drepper <drepper@cygnus.com>
290 * manager.c: Define __pthread_manager_adjust_prio and use it to
291 increase priority when needed.
292 * internals.h: Add prototype for __pthread_manager_adjust_prio.
293 * mutex.c: Optimize mutexes to wake up only one thread.
294 * pthread.c: Move PID of manager for global variable in structure
296 Patches by Xavier Leroy.
298 1998-06-07 13:47 Ulrich Drepper <drepper@cygnus.com>
300 * sysdeps/pthread/bits/libc-lock.h: Optimize cleanup handlers a bit.
302 1998-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
304 * attr.c: Correct typo.
306 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
308 * manager.c (pthread_free): Unmap guard before the stack.
309 Patch by Matthias Urlichs.
311 1998-04-30 Ulrich Drepper <drepper@cygnus.com>
313 * manager.c (pthread_free): Detect already free child.
314 Patch by Xavier Leroy, reported by Matthias Urlichs.
316 1998-04-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
318 * Makefile (linuxthreads-version): Renamed back from
321 1998-04-21 Ulrich Drepper <drepper@cygnus.com>
323 * ptlongjmp.c: Add prototypes for __libc_siglongjmp and
326 1998-04-20 14:55 Ulrich Drepper <drepper@cygnus.com>
328 * Makefile (libpthread-routines): Add ptlongjmp and spinlock.
329 * internals.h: Add definitions for new spinlock implementation.
330 * ptlongjmp.c: New file.
331 * spinlock.c: New file.
332 * spinlock.h (acquire): Don't reschedule using __sched_yield, use
333 new function __pthread_acquire to prevent deadlocks with thread
334 with different priorities.
335 Patches by Xavier Leroy <Xavier.Leroy@inria.fr>.
337 1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
339 * manager.c (__pthread_manager): Reduce first argument to select
340 to include just the needed file descriptor.
342 1998-03-17 00:06 Ulrich Drepper <drepper@cygnus.com>
344 * manager.c: Fix last patch which caused core dumps.
346 * pthread.c: Correctly handle missing SIGRTMIN.
348 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
350 * libpthread.map: Add __libc_internal_tsd_get and
351 __libc_internal_tsd_set. Add missing cancelable functions. Export
352 libc internal versions of the cancelable functions.
354 1998-03-13 16:51 Ulrich Drepper <drepper@cygnus.com>
356 * weaks.c: Define pthread_attr_init as GLIBC_2.0 and GLIBC_2.1.
358 1998-03-13 00:46 Ulrich Drepper <drepper@cygnus.com>
360 * attr.c: Implement pthread_attr_[gs]etguardsize,
361 pthread_attr_[gs]setstackaddr, pthread_attr_[gs]etstacksize.
362 Change pthread_attr_init to have two interfaces.
363 * internals.h (struct _pthread_descr_struct): Add new fields for
365 * libpthread.map: Add names in GLIBC_2.1 section.
366 * manager.c (pthread_handle_create): Implement guardsize and
368 (pthread_free): Likewise.
369 * pthread.c (pthread_create): Add new interface for changed
371 * sysdeps/pthread/pthread.h: Add prototypes for new functions.
372 * sysdeps/unix/sysv/linux/bits/local_lim.h: Add definition of
375 1998-03-11 00:42 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
377 * manager.c: Enable resetting of the thread scheduling policy
378 to SCHED_OTHER when the parent thread has a different one.
380 1998-02-01 13:51 Ulrich Drepper <drepper@cygnus.com>
382 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
383 _POSIX_ASYNCHRONOUS_IO.
385 * sysdeps/pthread/pthread.h: Define bits for Unix98 variants of
387 * mutex.c: Implement new mutex types.
389 * internals.h: Include <signal.h>.
391 * libpthread.map: Add __erno_location and __h_errno_location.
393 * errno.c: Return pointer to variable actually in use. This might
394 not be the one in the thread structure.
395 * internals.h (struct _pthread_descr_struct): Add new fields p_errnop
397 * manager.c (__pthread_manager): Set p_errnop and p_h_errnop member
398 of manager thread structure.
399 (pthread_handle_create): Set p_errnop and p_h_errnop members for new
401 * pthread.c: Adapt initializer for thread structures.
402 (__pthread_initial_thread): Set p_errnop and p_h_errnop member.
403 (__pthread_reset_main_thread): Reset p_errnop and p_h_errnop of
404 current thread to global variables.
406 1998-01-31 17:27 Ulrich Drepper <drepper@cygnus.com>
408 * rwlock.c: New file.
409 * Makefile (libpthread-routines): Add rwlock.
410 * sysdeps/pthread/pthread.h: Define data structures and declare
412 * libpthread.map: Add new functions.
414 1997-12-18 13:50 Philip Blundell <pb@nexus.co.uk>
416 * sysdeps/arm/pt-machine.h: New file; add ARM support.
417 * sysdeps/arm/Implies: likewise.
418 * README: Document it.
420 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
422 * signals.c: Remove unneeded initializer for sigwaited, saving a
425 1997-04-11 01:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
427 * semaphore.c (sem_init): Set sem_spinlock only if available.
429 1997-12-04 01:48 Ulrich Drepper <drepper@cygnus.com>
431 * mutex.c: Implement PTHREAD_MUTEX_CHECKERROR.
432 * sysdeps/pthread/pthread.h: Define PTHREAD_MUTEX_CHECKERROR.
434 * Makefile: Update from LinuxThreads 0.7.
435 * internals.h. Likewise.
436 * manager.c: Likewise.
438 * pthread.c: Likewise.
439 * signals.c: Likewise.
440 * specific.c: Likewise.
441 * Examples/ex3.c: Likewise.
443 1997-11-20 18:13 Ulrich Drepper <drepper@cygnus.com>
445 * pthread.c (__pthread_reset_main_thread): Close pipe only if still
448 1997-10-29 05:38 Ulrich Drepper <drepper@cygnus.com>
450 * wrapsyscall.c: Add socket functions which are also cancelation
453 1997-10-19 21:40 Wolfram Gloger <wg@wolfram.dent.med.uni-muenchen.de>
455 * specific.c (__libc_internal_tsd_set, __libc_internal_tsd_get):
456 New functions for fast thread specific data within libc.
458 * internals.h: Add new array p_libc_specific to struct
459 _pthread_descr_struct.
461 * sysdeps/pthread/bits/libc-lock.h: Declare new functions.
463 1997-10-13 05:39 Ulrich Drepper <drepper@cygnus.com>
465 * semaphore.h: Add __BEGIN_DECLS/__END_DECLS.
466 Reported by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
468 1997-08-29 03:05 Ulrich Drepper <drepper@cygnus.com>
470 * internals.h (struct _pthread_descr_struct): Add definitions for
471 two-level specific key handling.
472 * manager.c (pthread_handle_create): Initialize specific memory array.
473 * specific.c: Implement two-level key handling.
474 * weaks.c: Don't provide dummy key handling.
475 * sysdeps/pthread/bits/libc-lock.h: Typedef __libc_lock_t (no #define).
476 Add definition of __libc_key_t.
477 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define PTHREAD_KEYS_MAX
479 Add definition of _POSIX_THREAD_DESTRUCTOR_ITERATIONS and
480 PTHREAD_DESTRUCTOR_ITERATIONS.
482 * manager.c (pthread_handle_create): Compare mmap result with
485 * ptfork.c: Rename to __pthread_atfork and make old name a weak alias.
486 * sysdeps/pthread/bits/pthread.h: Add prototype for __pthread_atfork.
488 1997-08-22 19:04 Richard Henderson <rth@cygnus.com>
490 sysdeps/sparc -> sysdeps/sparc/sparc32
491 sysdeps/sparc64 -> sysdeps/sparc/sparc64
493 * internals.h: Change definition of THREAD_SELF to be an expression,
494 not a statement that did a return.
495 * sysdeps/alpha/pt-machine.h (THREAD_SELF): Update accordingly.
496 * sysdeps/sparc/sparc32/pt-machine.h (THREAD_SELF, INIT_THREAD_SELF):
497 Follow Solaris and use a "system reserved" register (%g6) to hold
498 the thread descriptor.
499 * sysdeps/sparc/sparc64/pt-machine.h: Likewise.
501 1997-08-03 00:09 Ulrich Drepper <drepper@cygnus.com>
503 * mutex.c: Correct pthread_once. Patch by Xavier Leroy.
504 * sysdeps/pthread/pthread.h: Add prototype for __pthread_once.
505 * sysdeps/pthread/bits/pthread.h: Add macros for __libc_once.
507 * semaphore.c: Include spinlock.h only when needed.
509 * specific.c (__pthread_setsepcific, __pthread_getspecific): Reject
510 keys for entries not in use.
512 * weaks.c: Implement key handling functions for real.
514 1997-06-29 01:04 Richard Henderson <richard@gnu.ai.mit.edu>
516 Initial sparc64-linux support:
517 * linuxthreads/sysdeps/sparc64/Implies: New file.
518 * linuxthreads/sysdeps/sparc64/pt-machine.h: Likewise.
520 1997-06-29 00:48 Ulrich Drepper <drepper@cygnus.com>
522 * semaphore.c: Include spinlock.h at correct place.
525 1997-06-13 10:06 Richard Henderson <rth@tamu.edu>
527 The Great Bit File Move:
528 * sysdeps/alpha/semaphorebits.h: -> .../bits/semaphore.h.
529 * sysdeps/powerpc/semaphorebits.h: Likewise.
530 * sysdeps/pthread/cmpxchg/semaphorebits.h: Likewise.
531 * sysdeps/pthread/no-cmpxchg/semaphorebits.h: Likewise.
532 * sysdeps/pthread/libc-lock.h: -> bits/
533 * sysdeps/pthread/stdio-lock.h: Likewise.
534 * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
535 * sysdeps/unix/sysv/linux/posix_opt.h: Likewise.
536 * semaphore.h: Likewise.
537 * sysdeps/pthread/pthread.h: Likewise.
539 * lockfile.c: <foo.h> -> <bits/foo.h>.
540 * semaphore.h: Likewise.
542 * Makefile: (headers): foo.h -> bits/foo.h.
543 * sysdeps/pthread/Makefile: Likewise.
545 1997-04-11 01:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
547 * semaphore.c (sem_init): Set sem_spinlock only if available.
549 * sysdeps/m68k/pt-machine.h (testandset, __compare_and_swap): Fix
552 1997-04-09 03:00 Ulrich Drepper <drepper@cygnus.com>
554 Update from LinuxThreads 0.6.
556 * attr.c (pthread_attr_getdetachstate): Use __sched_get_priority_max
557 and __sched_get_priority_min instead of names without `__'.
559 * manager.c: Rewrite large parts to implement opaque pthread_t.
561 * cancel.c: Adapt for opaque pthread_t type.
562 * condvar.c: Likewise.
566 * pthread.c: Likewise.
567 * signals.c: Likewise.
568 * specific.c: Likewise.
569 * restart.h: Likewise.
571 * Examples/ex3.c: Likewise.
572 * Examples/ex4.c: Likewise.
573 * sysdeps/pthread/pthread.h: Likewise.
575 * pthread.c: Accumulate time for all threads in thread manager.
577 * semaphore.c: Implement fallback implementation for architectures
578 sometimes missing compare-exchange operations.
580 * cancel.c (pthread_cancel): Validate handle argument.
581 * join.c (pthread_join): Likewise.
582 (pthread_detach): Likewise.
583 * signals.c (pthread_kill): Likewise.
585 * spinlock.h (acquire): Use __sched_yield not sched_yield.
587 * queue.h (enqueue): Enqueue thread according to priority.
589 * internals.c (struct pthread_start_args): New struct for passing
590 args to cloning function.
591 (struct _pthread): Rename to _pthread_descr_struct and adapt for
594 * Examples/Makefile (clean): Pass -f option to rm.
596 * sysdeps/i386/pt-machine.h: Add check for compare-exchange instruction
597 and define TEST_FOR_COMPARE_AND_SWAP.
598 * sysdeps/i386/i486/pt-machine.h: Removed.
600 * sysdeps/unix/sysv/linux/local_lim.h (PTHREAD_THREADS_MAX): Increase
603 1997-04-04 16:38 Ulrich Drepper <drepper@cygnus.com>
605 * restart.h (suspend): Clear p_signal before suspending.
606 (suspend_with_cancellation): Likewise.
607 Patch by Xavier Leroy <Xavier.Leroy@inria.fr>.
609 * weaks.c: Make __pthread_key_create return 1.
610 * sysdeps/pthread/libc-lock.h: Define __libc_key_create,
611 __libc_getspecific, __libc_setspecific, and __libc_key_t.
612 * sysdeps/pthread/stdio-lock.h: Don't care for implementation not
615 1997-03-19 15:13 Miguel de Icaza <miguel@nuclecu.unam.mx>
617 * sysdeps/sparc/pt-machine (RELEASE): Fix.
619 1997-03-01 07:55 Geoff Keating <geoffk@ozemail.com.au>
621 * sysdeps/powerpc/Implies: Added.
622 * sysdeps/powerpc/pt-machine.h: Added.
623 * sysdeps/powerpc/semaphorebits.h: Added.
625 1997-01-22 01:22 Ulrich Drepper <drepper@cygnus.com>
627 * linuxtheads/pthread.c (__pthread_initial_thread): Correct
629 (__pthread_manager_thread): Likewise.
630 Reported by Andreas Jaeger.
632 1997-01-18 22:15 Richard Henderson <rth@tamu.edu>
634 Since sigset_t no longer fits in a register, we can't pass in the
635 thread's initial mask so easily. Take this opportunity to simplify
636 the clone implementation by only accepting a single void* argument.
638 * linuxthreads/manager.c (__pthread_manager): Put thread vitals
639 in the thread struct instead of as arguments through clone.
640 (pthread_start_thread): Look for them there.
641 * linuxthreads/internals.h (struct _pthread): Add p_initial_fn,
642 p_initial_fn_arg, p_initial_mask. Fix __pthread_manager proto.
643 * linuxthreads/pthread.c (pthread_initialize_manager): Revise