Module Name: src Committed By: christos Date: Sat Jun 9 02:36:26 UTC 2012
Modified Files: src/lib/libc/sys: getrlimit.2 Log Message: describe RLIMIT_NTHR To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/lib/libc/sys/getrlimit.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/getrlimit.2 diff -u src/lib/libc/sys/getrlimit.2:1.35 src/lib/libc/sys/getrlimit.2:1.36 --- src/lib/libc/sys/getrlimit.2:1.35 Mon Feb 13 14:53:24 2012 +++ src/lib/libc/sys/getrlimit.2 Fri Jun 8 22:36:25 2012 @@ -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 @@ function. 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.