Debian Codegraph @

templates/man2/PR_SET_TIMERSLACK.2const.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:37+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "PR_SET_TIMERSLACK"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid ""
50 "PR_SET_TIMERSLACK - set the \"current\" timer slack value for the calling "
51 "thread"
52 msgstr ""
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr ""
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr ""
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr ""
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid ""
79 "B<#include E<lt>linux/prctl.hE<gt>> /* Definition of B<PR_*> constants */\n"
80 "B<#include E<lt>sys/prctl.hE<gt>>\n"
81 msgstr ""
82
83 #. type: Plain text
84 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
85 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
86 #, no-wrap
87 msgid "B<int prctl(PR_SET_TIMERSLACK, unsigned long >I<slack>B<);>\n"
88 msgstr ""
89
90 #. type: SH
91 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
92 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
93 #, no-wrap
94 msgid "DESCRIPTION"
95 msgstr ""
96
97 #. type: Plain text
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 msgid ""
101 "Each thread has two associated timer slack values: a \"default\" value, and "
102 "a \"current\" value. This operation sets the \"current\" timer slack value "
103 "for the calling thread. I<slack> is an unsigned long value in the range "
104 "[B<1L>, B<ULONG_MAX>]. If the nanosecond value supplied in I<slack> is "
105 "greater than zero, then the \"current\" value is set to this value. If "
106 "I<slack> is B<0L>, the \"current\" timer slack is reset to the thread's "
107 "\"default\" timer slack value."
108 msgstr ""
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 msgid ""
114 "The \"current\" timer slack is used by the kernel to group timer expirations "
115 "for the calling thread that are close to one another; as a consequence, "
116 "timer expirations for the thread may be up to the specified number of "
117 "nanoseconds late (but will never expire early). Grouping timer expirations "
118 "can help reduce system power consumption by minimizing CPU wake-ups."
119 msgstr ""
120
121 #. List obtained by grepping for futex usage in glibc source
122 #. type: Plain text
123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
125 msgid ""
126 "The timer expirations affected by timer slack are those set by B<select>(2), "
127 "B<pselect>(2), B<poll>(2), B<ppoll>(2), B<epoll_wait>(2), B<epoll_pwait>(2), "
128 "B<clock_nanosleep>(2), B<nanosleep>(2), and B<futex>(2) (and thus the "
129 "library functions implemented via futexes, including "
130 "B<pthread_cond_timedwait>(3), B<pthread_mutex_timedlock>(3), "
131 "B<pthread_rwlock_timedrdlock>(3), B<pthread_rwlock_timedwrlock>(3), and "
132 "B<sem_timedwait>(3))."
133 msgstr ""
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 msgid ""
139 "Timer slack is not applied to threads that are scheduled under a real-time "
140 "scheduling policy (see B<sched_setscheduler>(2))."
141 msgstr ""
142
143 #. type: Plain text
144 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
145 #: opensuse-tumbleweed
146 msgid ""
147 "When a new thread is created, the two timer slack values are made the same "
148 "as the \"current\" value of the creating thread. Thereafter, a thread can "
149 "adjust its \"current\" timer slack value via B<PR_SET_TIMERSLACK>. The "
150 "\"default\" value can't be changed. The timer slack values of B<init>(1) "
151 "(PID 1), the ancestor of all processes, are 50,000 nanoseconds (50 "
152 "microseconds). The timer slack value is inherited by a child created via "
153 "B<fork>(2), and is preserved across B<execve>(2)."
154 msgstr ""
155
156 #. type: SH
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 #, no-wrap
160 msgid "RETURN VALUE"
161 msgstr ""
162
163 #. type: Plain text
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 msgid ""
167 "On success, 0 is returned. On error, -1 is returned, and I<errno> is set to "
168 "indicate the error."
169 msgstr ""
170
171 #. type: SH
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 #, no-wrap
175 msgid "STANDARDS"
176 msgstr ""
177
178 #. type: Plain text
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 msgid "Linux."
182 msgstr ""
183
184 #. type: SH
185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
187 #, no-wrap
188 msgid "HISTORY"
189 msgstr ""
190
191 #. See https://lwn.net/Articles/369549/
192 #. commit 6976675d94042fbd446231d1bd8b7de71a980ada
193 #. type: Plain text
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 msgid "Linux 2.6.28."
197 msgstr ""
198
199 #. type: SH
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 #, no-wrap
203 msgid "SEE ALSO"
204 msgstr ""
205
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 msgid "B<prctl>(2), B<PR_GET_TIMERSLACK>(2const), B<proc_pid_timerslack_ns>(5)"
210 msgstr ""
211
212 #. type: TH
213 #: debian-trixie
214 #, no-wrap
215 msgid "2024-06-02"
216 msgstr ""
217
218 #. type: TH
219 #: debian-trixie
220 #, no-wrap
221 msgid "Linux man-pages 6.9.1"
222 msgstr ""
223
224 #. type: Plain text
225 #: debian-trixie
226 msgid "Standard C library (I<libc>, I<-lc>)"
227 msgstr ""
228
229 #. type: Plain text
230 #: debian-trixie fedora-44 fedora-rawhide
231 msgid ""
232 "When a new thread is created, the two timer slack values are made the same "
233 "as the \"current\" value of the creating thread. Thereafter, a thread can "
234 "adjust its \"current\" timer slack value via B<PR_SET_TIMERSLACK>. The "
235 "\"default\" value can't be changed. The timer slack values of I<init> (PID "
236 "1), the ancestor of all processes, are 50,000 nanoseconds (50 "
237 "microseconds). The timer slack value is inherited by a child created via "
238 "B<fork>(2), and is preserved across B<execve>(2)."
239 msgstr ""
240
241 #. type: SH
242 #: debian-trixie fedora-44 fedora-rawhide
243 #, no-wrap
244 msgid "FILES"
245 msgstr ""
246
247 #. type: TP
248 #: debian-trixie fedora-44 fedora-rawhide
249 #, no-wrap
250 msgid "I</proc/\\:>pidI</\\:timerslack_ns>"
251 msgstr ""
252
253 #. type: Plain text
254 #: debian-trixie fedora-44 fedora-rawhide
255 msgid ""
256 "Since Linux 4.6, the \"current\" timer slack value of any process can be "
257 "examined and changed via this file."
258 msgstr ""
259
260 #. type: TH
261 #: fedora-44 fedora-rawhide
262 #, no-wrap
263 msgid "2024-07-23"
264 msgstr ""
265
266 #. type: TH
267 #: fedora-44 fedora-rawhide
268 #, no-wrap
269 msgid "Linux man-pages 6.13"
270 msgstr ""
271
272 #. type: TH
273 #: mageia-cauldron
274 #, no-wrap
275 msgid "Linux man-pages 6.17"
276 msgstr ""
277
278 #. type: TH
279 #: opensuse-leap-16-1 opensuse-tumbleweed
280 #, no-wrap
281 msgid "Linux man-pages (unreleased)"
282 msgstr ""