We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a809fa commit 80df12cCopy full SHA for 80df12c
Doc/library/resource.rst
@@ -255,6 +255,14 @@ platform.
255
256
.. versionadded:: 3.4
257
258
+.. data:: RLIMIT_KQUEUES
259
+
260
+ The maximum number of kqueues created by this user id.
261
262
+ .. availability:: FreeBSD 11 or later.
263
264
+ .. versionadded:: 3.10
265
266
Resource Usage
267
--------------
268
Modules/resource.c
@@ -480,6 +480,10 @@ resource_exec(PyObject *module)
480
ADD_INT(module, RLIMIT_NPTS);
481
#endif
482
483
+#ifdef RLIMIT_KQUEUES
484
+ ADD_INT(module, RLIMIT_KQUEUES);
485
+#endif
486
487
PyObject *v;
488
if (sizeof(RLIM_INFINITY) > sizeof(long)) {
489
v = PyLong_FromLongLong((long long) RLIM_INFINITY);
0 commit comments