Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh support RLIMIT_NTHR.
details: https://anonhg.NetBSD.org/src/rev/fc9b355500b8
branches: trunk
changeset: 779657:fc9b355500b8
user: christos <christos%NetBSD.org@localhost>
date: Sat Jun 09 02:49:48 2012 +0000
description:
support RLIMIT_NTHR.
diffstat:
bin/sh/miscbltin.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 8015170b70bd -r fc9b355500b8 bin/sh/miscbltin.c
--- a/bin/sh/miscbltin.c Sat Jun 09 02:47:18 2012 +0000
+++ b/bin/sh/miscbltin.c Sat Jun 09 02:49:48 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: miscbltin.c,v 1.40 2011/10/11 15:27:11 christos Exp $ */
+/* $NetBSD: miscbltin.c,v 1.41 2012/06/09 02:49:48 christos Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)miscbltin.c 8.4 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: miscbltin.c,v 1.40 2011/10/11 15:27:11 christos Exp $");
+__RCSID("$NetBSD: miscbltin.c,v 1.41 2012/06/09 02:49:48 christos Exp $");
#endif
#endif /* not lint */
@@ -330,6 +330,9 @@
#ifdef RLIMIT_MEMLOCK
{ "locked memory","kbytes", RLIMIT_MEMLOCK, 1024, 'l' },
#endif
+#ifdef RLIMIT_NTHR
+ { "thread", "threads", RLIMIT_NTHR, 1, 'r' },
+#endif
#ifdef RLIMIT_NPROC
{ "process", "processes", RLIMIT_NPROC, 1, 'p' },
#endif
Home |
Main Index |
Thread Index |
Old Index