aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/ChangeLog
blob: cf6d45fcaf9b1da668666eead667e1f5a1cdad91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
1998-12-02  H.J. Lu  <hjl@gnu.org>

	* pthread.c (__pthread_sig_restart): Initiliaze to 0 if
	SIGRTMIN is defined.
	(__pthread_sig_cancel): Likewise.

1998-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* wrapsyscall.c: Include <sys/mman.h> for msync,
	<stdlib.h> for system and <termios.h> for tcdrain prototype.
	Correct msync declaration.

1998-11-29  Roland McGrath  <roland@baalperazim.frob.com>

	* sysdeps/pthread/bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_get,
	__libc_tsd_set): New macros for new interface.
	* no-tsd.c: New file, provide uninitialized defns of
	__libc_internal_tsd_get and __libc_internal_tsd_set.
	* Makefile (routines): Add no-tsd.

1998-10-12  Roland McGrath  <roland@baalperazim.frob.com>

	* internals.h: Include <bits/libc-tsd.h>, not <bits/libc-lock.h>.
	* sysdeps/pthread/bits/libc-lock.h (__libc_internal_tsd_get,
	__libc_internal_tsd_set): Move decls to ...
	* sysdeps/pthread/bits/libc-tsd.h: New file for __libc_internal_tsd_*
	declarations.

	* sysdeps/pthread/bits/libc-lock.h (__libc_internal_tsd_get,
	__libc_internal_tsd_set): Make these pointers to functions, not
	functions; remove #pragma weak decls for them.
	* specific.c (__libc_internal_tsd_get, __libc_internal_tsd_set):
	Define static functions and initialized pointers to them.

1998-11-18  Ulrich Drepper  <drepper@cygnus.com>

	* Makefile (CFLAGS-mutex.c): Define as -D__NO_WEAK_PTHREAD_ALIASES.
	(CFLAGS-specific.c): Likewise.
	(CFLAGS-pthread.c): Likewise.
	(CFLAGS-ptfork.c): Likewise.
	(CFLAGS-cancel.c): Likewise.
	* sysdeps/pthread/bits/libc-lock.h: Don't mark __pthread_* functions
	as weak references if __NO_WEAK_PTHREAD_ALIASES is defined.

	* mutex.c (pthread_mutex_init): Define as strong symbol.
	(pthread_mutex_destroy): Likewise.
	(pthread_mutex_trylock): Likewise.
	(pthread_mutex_lock): Likewise.
	(pthread_mutex_unlock): Likewise.
	(pthread_mutexattr_init): Likewise.
	(pthread_mutexattr_destroy): Likewise.
	(pthread_once): Likewise.
	* ptfork.c (pthread_atfork): Likewise.
	* specific.c (pthread_key_create): Likewise.
	(pthread_setspecific): Likewise.
	(pthread_getspecific): Likewise.

1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* linuxthreads.texi: Fix punctuation after xref.

1998-11-10  H.J. Lu  <hjl@gnu.org>

	* sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
	if it is defined in <linux/limits.h>.

1998-10-29 14:28  Ulrich Drepper  <drepper@cygnus.com>

	* spinlock.h (__pthread_trylock): Define inline.
	(__pthread_lock): Add extra parameter to declaration.  Declare
	using internal_function.
	(__pthread_unlock): Declare using internal_function.
	* spinlock.c (__pthread_lock): Add new parameter.  Use it instead
	of local variable self.  Avoid recomputing self.  Define using
	internal_function.
	(__pthread_trylock): Remove.
	(__pthread_unlock): Define using internal_function.
	* cancel.c: Adjust for __pthread_lock interface change.  Use already
	computed self value is possible.
	* condvar.c: Likewise.
	* join.c: Likewise.
	* manager.c: Likewise.
	* mutex.c: Likewise.
	* pthread.c: Likewise.
	* rwlock.c: Likewise.
	* semaphore.c: Likewise.
	* signals.c: Likewise.

1998-10-27 13:46  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/pthread/pthread.h (struct _pthread_cleanup_buffer): Prepend
	__ to field names of the struct.
	* sysdeps/pthread/bits/pthreadtypes.h (struct _pthread_fastlock):
	Likewise.
	(pthread_attr_t): Likewise.
	(pthread_cond_t): Likewise.
	(pthread_condattr_t): Likewise.
	(pthread_mutex_t): Likewise.
	(pthread_mutexattr_t): Likewise.
	(pthread_rwlock_t): Likewise.
	(pthread_rwlockattr_t): Likewise.
	* attr.c: Adjust for pthread.h and pthreadtypes.h change.
	* cancel.c: Likewise.
	* condvar.c: Likewise.
	* manager.c: Likewise.
	* mutex.c: Likewise.
	* pthread.c: Likewise.
	* ptlongjmp.c: Likewise.
	* rwlock.c: Likewise.
	* spinlock.c: Likewise.

1998-10-09  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/i386/pt-machine.h (get_eflags, set_eflags): Mark these
	also with PT_EI.

	* sysdeps/i386/i686/pt-machine.h: Remove unused inline
	definitions.

	* Makefile (libpthread-routines): Add pt-machine.
	* pt-machine.c: New file.
	* sysdeps/alpha/pt-machine.h: Define PT_EI as extern inline is not
	yet defined.  Use PT_EI in extern inline definitions.
	* sysdeps/arm/pt-machine.h: Likewise.
	* sysdeps/i386/pt-machine.h: Likewise.
	* sysdeps/i386/i686/pt-machine.h: Likewise.
	* sysdeps/m68k/pt-machine.h: Likewise.
	* sysdeps/mips/pt-machine.h: Likewise.
	* sysdeps/powerpc/pt-machine.h: Likewise.
	* sysdeps/sparc/sparc32/pt-machine.h: Likewise.
	* sysdeps/sparc/sparc64/pt-machine.h: Likewise.

1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* semaphore.h: Include <sys/types.h> so that _pthread_descr
	is declared.

1998-09-15  David S. Miller  <davem@pierdol.cobaltmicro.com>

	* sysdeps/sparc/sparc32/pt-machine.h (INIT_THREAD_SELF): Add nr
	argument.
	* sysdeps/sparc/sparc64/pt-machine.h (INIT_THREAD_SELF): Likewise.

1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h: Add
	multiple inclusion guard.

1998-09-02 11:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* signals.c (sigaction): Check that sig is less than NSIG to avoid
	array index overflow.

1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/pthread/semaphore.h: New file.

1998-09-06 09:08  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/pthread/bits/libc-lock.h (enum __libc_tsd_key_t): Add
	_LIBC_TSD_KEY_DL_ERROR.

1998-08-31  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/i386/i686/pt-machine.h (testandset): Add memory clobber.
	* sysdeps/i386/pt-machine.h: Likewise.
	Suggested by Roland McGrath.

1998-08-28 13:58  Ulrich Drepper  <drepper@cygnus.com>

	* internals.h: Also define THREAD_GETMEM_NC and THREAD_SETMEM_NC to
	access thread data with non-constant offsets.
	* specific.c: Use THREAD_GETMEM_NC and THREAD_SETMEM_NC where
	necessary.

	* sysdeps/i386/useldt.h: Fix typo.  Add THREAD_GETMEM_NC and
	THREAD_SETMEM_NC definitions.

	* sysdeps/sparc/sparc32/pt-machine.h: Define THREAD_GETMEM_NC and
	THREAD_SETMEM_NC.
	* sysdeps/sparc/sparc64/pt-machine.h: Likewise.

1998-08-26 15:46  Ulrich Drepper  <drepper@cygnus.com>

	* internals.h: Define THREAD_GETMEM and THREAD_SETMEM to default if
	not already defined.
	(struct _pthread_descr_struct): Add p_self and p_nr field.
	* manager.c (__pthread_handles): Define second element to point
	to manager thread.
	(__pthread_handles_num): Initialize to 2.
	(__pthread_manager): Use INIT_THREAD_SELF with two arguments.
	(pthread_start_thread): Likewise.
	(pthread_handle_create): Start search for free slot at entry 2.
	Initialize new fields p_self and p_nr.
	Call __clone with CLONE_PTRACE if available.
	(pthread_free): Call FREE_THREAD_SELF if available.
	* pthread.c (__pthread_initial_thread): Initialize new fields.
	(__pthread_manager_thread): Likewise.
	(__pthread_initialize_manager): Call __clone with CLONE_PTRACE.

	* cancel.c: Use THREAD_GETMEM and THREAD_SETMEM to access the
	elements of the thread descriptor.
	* condvar.c: Likewise.
	* errno.c: Likewise.
	* join.c: Likewise.
	* manager.c: Likewise.
	* pthread.c: Likewise.
	* ptlongjmp.c: Likewise.
	* semaphore.c: Likewise.
	* signals.c: Likewise.
	* specific.c: Likewise.
	* spinlock.c: Likewise.

	* sysdeps/alpha/pt-machine.h (INIT_THREAD_SELF): Add extra parameter.

	* sysdeps/i386/useldt.h: New file.
	* sysdeps/i386/i686/pt-machine.h: Show how to use this file.

	* sysdeps/sparc/sparc32/pt-machine.h: Define THREAD_GETMEM and
	THREAD_SETMEM using __thread_self.
	* sysdeps/sparc/sparc64/pt-machine.h: Likewise.

1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>

	* spinlock.c (__pthread_lock): Reset p_nextwaiting to NULL if it
	turned out that we didn't need to queue after all.

1998-08-22  Geoff Keating  <geoffk@ozemail.com.au>

	* sysdeps/powerpc/pt-machine.h: Remove testandset, it's not used
	and wastes space; correct types.

1998-08-08 11:18  H.J. Lu  <hjl@gnu.org>

	* signals.c (sigaction): Handle NULL argument.

1998-08-04  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/bits/sigthread.h: Use __sigset_t instead
	of sigset_t.

1998-08-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* Makefile (linuxthreads-version): Extract correct number from
	Banner.

1998-07-29  Xavier Leroy  <Xavier.Leroy@inria.fr>

	* Banner: Bump version number to 0.8
	* FAQ.html: Many updates, in particular w.r.t. debugging.
	* manager.c: Support for non-default stacksize for
	LinuxThreads-allocated stacks;
	don't use guard pages for stacks with default size, rely on
	rlimit(RLIMIT_STACK) instead (it's cheaper).
	* attr.c: Likewise.
	* cancel.c: Use __pthread_sig_cancel and __pthread_sig_restart
	everywhere instead of PTHREAD_SIG_CANCEL and PTHREAD_SIG_RESTART.
	* condvar.c: Likewise.
	* internals.h: Likewise.
	* restart.h: Likewise.
	* signals.c: Likewise.
	* pthread.c: Likewise; set rlimit(RLIMIT_STACK) as we need it.

1998-07-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* weaks.c: Define pthread_mutexattr_[sg]ettype instead of
	__pthread_mutexattr_[sg]ettype.  Add more weak aliases.
	* Versions: Put __pthread_mutexattr_settype under version
	GLIBC_2.0.  Don't export __pthread_mutexattr_setkind_np and
	__pthread_mutexattr_gettype.

1998-07-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* sysdeps/pthread/bits/libc-lock.h: Make
	__pthread_mutexattr_settype weak.  Don't make
	__pthread_mutexattr_setkind_np weak.

1998-07-16 10:52  Ulrich Drepper  <drepper@cygnus.com>

	* manager.c (pthread_handle_create): Check whether sched_setscheduler
	call can succeed here.

	* mutex.c: Define __pthread_mutexattr_settype and make
	__pthread_mutexattr_setkind_np an alias.
	Likewise for __pthread_mutexattr_gettype.

1998-07-15 11:00 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* attr.c (pthread_attr_setschedpolicy): Don't check whether caller
	is root.

1998-07-14 19:38  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/pthread/bits/libc-lock.h: Define __libc_cleanup_end.

1998-07-11  Andreas Jaeger  <aj@arthu