From 6a7016194d579fde78c09fdc9d5c4e7f476ea58f Mon Sep 17 00:00:00 2001 From: Benedict Reuschling Date: Tue, 5 May 2020 19:31:47 +0000 Subject: [PATCH] Add HISTORY sections to document when this functionality first appeared in FreeBSD. Submitted by: Gordon Bergling gbergling_gmail.com Approved by: bcr Differential Revision: https://reviews.freebsd.org/D24677 --- lib/libc/sys/thr_exit.2 | 7 ++++++- lib/libc/sys/thr_kill.2 | 9 ++++++++- lib/libc/sys/thr_new.2 | 7 ++++++- lib/libc/sys/thr_self.2 | 7 ++++++- lib/libc/sys/thr_set_name.2 | 7 ++++++- lib/libc/sys/thr_suspend.2 | 7 ++++++- lib/libc/sys/thr_wake.2 | 7 ++++++- lib/libthr/libthr.3 | 7 ++++++- 8 files changed, 50 insertions(+), 8 deletions(-) diff --git a/lib/libc/sys/thr_exit.2 b/lib/libc/sys/thr_exit.2 index 781b07fde7e8..9765fb7d60d4 100644 --- a/lib/libc/sys/thr_exit.2 +++ b/lib/libc/sys/thr_exit.2 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 1, 2016 +.Dd May 5, 2020 .Dt THR_EXIT 2 .Os .Sh NAME @@ -88,3 +88,8 @@ to implement .St -p1003.1-2001 .Xr pthread 3 functionality. +.Sh HISTORY +The +.Fn thr_exit +system call first appeared in +.Fx 5.2 . diff --git a/lib/libc/sys/thr_kill.2 b/lib/libc/sys/thr_kill.2 index 04293aa59ee7..2378cb60fc88 100644 --- a/lib/libc/sys/thr_kill.2 +++ b/lib/libc/sys/thr_kill.2 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 1, 2016 +.Dd May 5, 2020 .Dt THR_kill 2 .Os .Sh NAME @@ -131,3 +131,10 @@ to implement .St -p1003.1-2001 .Xr pthread 3 functionality. +.Sh HISTORY +The +.Fn thr_kill +and +.Fn thr_kill2 +system calls first appeared in +.Fx 5.2 . diff --git a/lib/libc/sys/thr_new.2 b/lib/libc/sys/thr_new.2 index 27f4191ae8b5..735dc2879a13 100644 --- a/lib/libc/sys/thr_new.2 +++ b/lib/libc/sys/thr_new.2 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 2, 2016 +.Dd May 5, 2020 .Dt THR_NEW 2 .Os .Sh NAME @@ -243,3 +243,8 @@ to implement .St -p1003.1-2001 .Xr pthread 3 functionality. +.Sh HISTORY +The +.Fn thr_new +system call first appeared in +.Fx 5.2 . diff --git a/lib/libc/sys/thr_self.2 b/lib/libc/sys/thr_self.2 index 42e43ebf4cb4..7c8a0fcecc93 100644 --- a/lib/libc/sys/thr_self.2 +++ b/lib/libc/sys/thr_self.2 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 3, 2020 +.Dd May 5, 2020 .Dt THR_SELF 2 .Os .Sh NAME @@ -88,3 +88,8 @@ to implement .St -p1003.1-2001 .Xr pthread 3 functionality. +.Sh HISTORY +The +.Fn thr_self +system call first appeared in +.Fx 5.2 . diff --git a/lib/libc/sys/thr_set_name.2 b/lib/libc/sys/thr_set_name.2 index a83e53109491..82abff96ab52 100644 --- a/lib/libc/sys/thr_set_name.2 +++ b/lib/libc/sys/thr_set_name.2 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 2, 2016 +.Dd May 5, 2020 .Dt THR_SET_NAME 2 .Os .Sh NAME @@ -92,3 +92,8 @@ The .Fn thr_set_name system call is non-standard and is used by the .Lb libthr . +.Sh HISTORY +The +.Fn thr_set_name +system call first appeared in +.Fx 5.2 . diff --git a/lib/libc/sys/thr_suspend.2 b/lib/libc/sys/thr_suspend.2 index b470d189e45b..6b90d90a142e 100644 --- a/lib/libc/sys/thr_suspend.2 +++ b/lib/libc/sys/thr_suspend.2 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 23, 2016 +.Dd May 5, 2020 .Dt THR_SUSPEND 2 .Os .Sh NAME @@ -128,3 +128,8 @@ The sleep was interrupted by a signal. The .Fn thr_suspend system call is non-standard. +.Sh HISTORY +The +.Fn thr_suspend +system call first appeared in +.Fx 5.2 . diff --git a/lib/libc/sys/thr_wake.2 b/lib/libc/sys/thr_wake.2 index 31130428e1c7..e6d81480078c 100644 --- a/lib/libc/sys/thr_wake.2 +++ b/lib/libc/sys/thr_wake.2 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 23, 2016 +.Dd May 5, 2020 .Dt THR_WAKE 2 .Os .Sh NAME @@ -110,3 +110,8 @@ to implement .St -p1003.1-2001 .Xr pthread 3 functionality. +.Sh HISTORY +The +.Fn thr_suspend +system call first appeared in +.Fx 5.2 . diff --git a/lib/libthr/libthr.3 b/lib/libthr/libthr.3 index 6828a6e7d43b..2b41187cdb7c 100644 --- a/lib/libthr/libthr.3 +++ b/lib/libthr/libthr.3 @@ -29,7 +29,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 17, 2016 +.Dd May 5, 2020 .Dt LIBTHR 3 .Os .Sh NAME @@ -279,6 +279,11 @@ logs. .Xr pthread_create 3 , .Xr signal 3 , .Xr atomic 9 +.Sh HISTORY +The +.Nm +library first appeared in +.Fx 5.2 . .Sh AUTHORS .An -nosplit The