From: Thomas Klausner <tk@giga.or.at>
To: Peter Stephenson <p.stephenson@samsung.com>
Cc: zsh-workers@zsh.org
Subject: Re: ulimit -a: -r vs -N [was Re: pkgsrc patches for zsh]
Date: Tue, 24 Jun 2014 19:09:08 +0200 [thread overview]
Message-ID: <20140624170908.GK13765@danbala.tuwien.ac.at> (raw)
In-Reply-To: <20140624172642.61b422e0@pwslap01u.europe.root.pri>
On Tue, Jun 24, 2014 at 05:26:42PM +0100, Peter Stephenson wrote:
> On Tue, 24 Jun 2014 18:11:02 +0200
> Thomas Klausner <tk@giga.or.at> wrote:
> > thread (-r threads ) 160
>
> > If I raise the threads limit here to 161, the value for "-N 11" in zsh
> > is also 161, so it's the same limit.
>
> I'm presuming you don't have RTPRIO (so there's no clash)? What's the
> name (enum or #defined) of the limit referred to as "threads", i.e. with
> the value 11? Should be in something like /usr/include/sys/resource.h
> or something included from there.
>
> gcc -E /usr/include/sys/resource.h | grep RLIMIT
>
> might be enough to answer both questions.
The gcc statement, for some reason, doesn't work, but:
./sys/resource.h:#define RLIMIT_NTHR 11 /* number of threads */
# grep -r RTPRIO /usr/include
#
> I'm not sure we have an existing preprocessor test for NetBSD, so if we
> need to disambiguate uses of -r we'll need that.
"uname -s" is "NetBSD".
Let me know what else I can provide to help here.
Thanks,
Thomas
next prev parent reply other threads:[~2014-06-24 17:09 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-16 12:04 tgoto issue in zsh-5.0.0 Thomas Klausner
2012-08-16 13:07 ` Peter Stephenson
2012-08-16 13:20 ` Thomas Klausner
2012-08-16 13:25 ` Peter Stephenson
2012-08-16 14:25 ` pkgsrc patches for zsh [was Re: tgoto issue in zsh-5.0.0] Thomas Klausner
2012-08-16 19:18 ` Peter Stephenson
2012-08-17 8:11 ` Thomas Klausner
2012-08-17 9:38 ` Peter Stephenson
2012-08-17 10:50 ` Thomas Klausner
2012-08-17 11:35 ` Peter Stephenson
2012-08-17 12:16 ` Thomas Klausner
2012-08-17 13:27 ` Peter Stephenson
2014-06-24 14:37 ` ulimit -a: -r vs -N [was Re: pkgsrc patches for zsh] Thomas Klausner
2014-06-24 15:07 ` Peter Stephenson
2014-06-24 16:11 ` Thomas Klausner
2014-06-24 16:26 ` Peter Stephenson
2014-06-24 17:09 ` Thomas Klausner [this message]
2014-06-25 8:26 ` Peter Stephenson
2014-06-25 8:36 ` Thomas Klausner
2014-06-25 10:33 ` Peter Stephenson
2014-06-25 11:00 ` Thomas Klausner
2014-06-25 11:11 ` Peter Stephenson
2014-06-25 12:18 ` Thomas Klausner
2014-06-26 8:31 ` Daniel Shahaf
2014-06-26 9:49 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140624170908.GK13765@danbala.tuwien.ac.at \
--to=tk@giga.or.at \
--cc=p.stephenson@samsung.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).