Backport: cover the documentation coverage gap adding thread safety annotations for clock_gettime and clock_getres
Resolves: RHEL-57586
This commit is contained in:
parent
de2aa73d68
commit
e73ffcf128
36
glibc-RHEL-57586.patch
Normal file
36
glibc-RHEL-57586.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
commit 6efd6cd46bf2257e674be4933a034542d80944eb
|
||||||
|
Author: Florian Weimer <fweimer@redhat.com>
|
||||||
|
Date: Fri Sep 6 14:07:00 2024 +0200
|
||||||
|
|
||||||
|
manual: Safety annotations for clock_gettime, clock_getres
|
||||||
|
|
||||||
|
The annotations are preliminary, for consistency with existing
|
||||||
|
annotations on gettimeofday etc.
|
||||||
|
|
||||||
|
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
|
||||||
|
|
||||||
|
Conflicts:
|
||||||
|
manual/time.texi (fixing typo in context)
|
||||||
|
|
||||||
|
diff --git a/manual/time.texi b/manual/time.texi
|
||||||
|
index 0c7a942b4c16946a..404d124d1bfdca5c 100644
|
||||||
|
--- a/manual/time.texi
|
||||||
|
+++ b/manual/time.texi
|
||||||
|
@@ -503,7 +503,8 @@ Systems may support more than just these two clocks.
|
||||||
|
|
||||||
|
@deftypefun int clock_gettime (clockid_t @var{clock}, struct timespec *@var{ts})
|
||||||
|
@standards{POSIX.1, time.h}
|
||||||
|
-Get the current time accoding to the clock identified by @var{clock},
|
||||||
|
+@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
|
||||||
|
+Get the current time according to the clock identified by @var{clock},
|
||||||
|
storing it as seconds and nanoseconds in @code{*@var{ts}}.
|
||||||
|
@xref{Time Types}, for a description of @code{struct timespec}.
|
||||||
|
|
||||||
|
@@ -524,6 +525,7 @@ clock:
|
||||||
|
|
||||||
|
@deftypefun int clock_getres (clockid_t @var{clock}, struct timespec *@var{res})
|
||||||
|
@standards{POSIX.1, time.h}
|
||||||
|
+@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
|
||||||
|
Get the actual resolution of the clock identified by @var{clock},
|
||||||
|
storing it in @code{*@var{ts}}.
|
||||||
|
|
@ -1037,6 +1037,7 @@ Patch729: glibc-RHEL-38225-1.patch
|
|||||||
Patch730: glibc-RHEL-38225-2.patch
|
Patch730: glibc-RHEL-38225-2.patch
|
||||||
Patch731: glibc-RHEL-54250.patch
|
Patch731: glibc-RHEL-54250.patch
|
||||||
Patch732: glibc-RHEL-56743.patch
|
Patch732: glibc-RHEL-56743.patch
|
||||||
|
Patch733: glibc-RHEL-57586.patch
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# Continued list of core "glibc" package information:
|
# Continued list of core "glibc" package information:
|
||||||
@ -3036,6 +3037,8 @@ update_gconv_modules_cache ()
|
|||||||
- Backport verbosity patches for glibc math (RHEL-38225)
|
- Backport verbosity patches for glibc math (RHEL-38225)
|
||||||
- Backport getdelim test coverage improvements (RHEL-54250)
|
- Backport getdelim test coverage improvements (RHEL-54250)
|
||||||
- Backport mkdirat mode test (RHEL-56743)
|
- Backport mkdirat mode test (RHEL-56743)
|
||||||
|
- Backport: cover the documentation coverage gap adding thread safety
|
||||||
|
annotations for clock_gettime and clock_getres (RHEL-57586)
|
||||||
|
|
||||||
* Thu Dec 19 2024 DJ Delorie <dj@redhat.com> - 2.34-148
|
* Thu Dec 19 2024 DJ Delorie <dj@redhat.com> - 2.34-148
|
||||||
- Increase ungetc test coverage, guarantee single char pushback (RHEL-46738)
|
- Increase ungetc test coverage, guarantee single char pushback (RHEL-46738)
|
||||||
|
Loading…
Reference in New Issue
Block a user