Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys describe RLIMIT_NTHR



details:   https://anonhg.NetBSD.org/src/rev/227973c86b51
branches:  trunk
changeset: 779655:227973c86b51
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jun 09 02:36:25 2012 +0000

description:
describe RLIMIT_NTHR

diffstat:

 lib/libc/sys/getrlimit.2 |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 939101df3867 -r 227973c86b51 lib/libc/sys/getrlimit.2
--- a/lib/libc/sys/getrlimit.2  Sat Jun 09 02:31:14 2012 +0000
+++ b/lib/libc/sys/getrlimit.2  Sat Jun 09 02:36:25 2012 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getrlimit.2,v 1.35 2012/02/13 19:53:24 dholland Exp $
+.\"    $NetBSD: getrlimit.2,v 1.36 2012/06/09 02:36:25 christos Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)getrlimit.2        8.1 (Berkeley) 6/4/93
 .\"
-.Dd November 15, 2011
+.Dd June 8, 2012
 .Dt GETRLIMIT 2
 .Os
 .Sh NAME
@@ -83,6 +83,11 @@
 The maximum number of open files for this process.
 .It Li RLIMIT_NPROC
 The maximum number of simultaneous processes for this user id.
+.It Li RLIMIT_NTHR
+The maximum number of simultaneous threads (Lightweight Processes) for this
+user id.
+Kernel threads and the first thread of each process are not counted against
+this limit.
 .It Li RLIMIT_RSS
 The maximum size (in bytes) to which a process's resident set size may
 grow.



Home | Main Index | Thread Index | Old Index