zsh-workers
 help / color / mirror / code / Atom feed
* Patch: 3.1.6-bart-7: Another rlimit
@ 1999-10-19  5:22 Bart Schaefer
  1999-10-19  6:13 ` PATCH: " Bart Schaefer
  0 siblings, 1 reply; 17+ messages in thread
From: Bart Schaefer @ 1999-10-19  5:22 UTC (permalink / raw)
  To: zsh-workers

Albert Chin reports that IRIX 6.5 has

     RLIMIT_PTHREAD   The maximum number of threads (pthreads(5)) that a
                      process may create.  Functions that attempt to create
                      new threads beyond this limit will fail with the error
                      EAGAIN.

Index: Doc/Zsh/builtins.yo
===================================================================
@@ -521,6 +521,7 @@
 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.)
Index: Src/Builtins/rlimits.awk
===================================================================
@@ -33,6 +33,7 @@
 	    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" }

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~1999-10-28  3:32 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-19  5:22 Patch: 3.1.6-bart-7: Another rlimit Bart Schaefer
1999-10-19  6:13 ` PATCH: " Bart Schaefer
1999-10-20 20:17   ` Zefram
1999-10-21  1:53     ` Bart Schaefer
1999-10-24  0:45   ` 3.0 DESTDIR Clint Adams
1999-10-24  1:55     ` Bart Schaefer
1999-10-24  5:05       ` Clint Adams
1999-10-24  6:20         ` Bart Schaefer
1999-10-24 14:30           ` Clint Adams
1999-10-24 14:51             ` Bruce Stephens
1999-10-27  2:17               ` Clint Adams
1999-10-24 17:58             ` PATCH: 3.1.6 install without rebuild (Re: 3.0 DESTDIR) Bart Schaefer
1999-10-24 21:04               ` Zefram
1999-10-24 21:55                 ` Bart Schaefer
1999-10-24 21:57                 ` Bart Schaefer
1999-10-28  1:58               ` Juergen A. Erhard
1999-10-28  3:31                 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).