From: adr <adr@SDF.ORG>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Re: _threadmalloc() size>100000000; shouldn't be totalmalloc?
Date: Tue, 28 Jun 2022 15:36:11 +0000 (UTC) [thread overview]
Message-ID: <24424f11-e49e-db53-4248-571e6424a2dd@SDF.ORG> (raw)
In-Reply-To: <CAEoi9W64arA=b+ypEaRvW89k3KiTo_T+OXixSmPDqJqR5hoOZQ@mail.gmail.com>
On Tue, 28 Jun 2022, Dan Cross wrote:
> You mean by `newthread` and `chancreate`? Those are part of the
> thread library. Notice that there are no callers outside of /sys/src/libthread.
What I mean is that "size" in _threadmalloc() will be set by those
functions with values directly given by the programmer, with this
limit not documented.
I wouldn't call a function wich is part of an api internal. An
internal function, for me, is a function inaccesible for the
programmer, like _threadmalloc itself.
By the way, you mean threadcreate, don't you?
Regars,
adr.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te1be8dc72738258d-M0c09e2ed1ced2383c89f1fe9
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
next prev parent reply other threads:[~2022-06-28 15:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-26 9:50 [9fans] " adr
2022-06-28 13:00 ` [9fans] " adr
2022-06-28 13:50 ` Dan Cross
2022-06-28 14:21 ` adr
2022-06-28 14:32 ` Dan Cross
2022-06-28 15:36 ` adr [this message]
2022-06-28 15:57 ` Dan Cross
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=24424f11-e49e-db53-4248-571e6424a2dd@SDF.ORG \
--to=adr@sdf.org \
--cc=9fans@9fans.net \
/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.
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).