From 857e8927226f8eb22077ea06e0e4a1621adcc5d4 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 19 Oct 1999 05:31:23 +0000 Subject: zsh-workers/8328 --- Doc/Zsh/builtins.yo | 1 + Src/Builtins/rlimits.awk | 1 + 2 files changed, 2 insertions(+) diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index e82ab7338..bfe0d781a 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -521,6 +521,7 @@ sitem(tt(datasize))(Maximum data size (including stack) for each process.) sitem(tt(descriptors))(Maximum value for a file descriptor.) sitem(tt(filesize))(Largest single file allowed.) sitem(tt(maxproc))(Maximum number of processes.) +sitem(tt(maxpthreads))(Maximum number of threads per process.) sitem(tt(memorylocked))(Maximum amount of memory locked in RAM.) sitem(tt(memoryuse))(Maximum resident set size.) sitem(tt(resident))(Maximum resident set size.) diff --git a/Src/Builtins/rlimits.awk b/Src/Builtins/rlimits.awk index 5ce3079f6..5e48725e2 100644 --- a/Src/Builtins/rlimits.awk +++ b/Src/Builtins/rlimits.awk @@ -33,6 +33,7 @@ BEGIN {limidx = 0} if (limnam == "NOFILE") { msg[limnum] = "Ndescriptors" } if (limnam == "NPROC") { msg[limnum] = "Nmaxproc" } if (limnam == "OFILE") { msg[limnum] = "Ndescriptors" } + if (limnam == "PTHREAD") { msg[limnum] = "Nmaxpthreads" } if (limnam == "RSS") { msg[limnum] = "Mresident" } if (limnam == "SBSIZE") { msg[limnum] = "Msockbufsize" } if (limnam == "STACK") { msg[limnum] = "Mstacksize" } -- cgit 1.4.1