9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <russcox@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] stack reclamation on Unix using clone, rfork_thread, etc.
Date: Fri,  4 Jun 2004 11:53:57 -0400	[thread overview]
Message-ID: <ee9e417a0406040853148bdc92@mail.gmail.com> (raw)
In-Reply-To: <200406041533.i54FXNm29967@plg2.math.uwaterloo.ca>

> As far as I know, the new pthreads library on Linux uses a technique
> very similar to the one that Russ describes, with the additional
> optimization of re-using stacks if possible.  In fact, I'm not sure if
> they ever free stacks -- just keep them around in case a new thread
> needs one.

That's exactly what I'm doing.  What a crock.

Russ


  reply	other threads:[~2004-06-04 15:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-04 15:33 Richard C Bilson
2004-06-04 15:53 ` Russ Cox [this message]
2004-06-04 18:43   ` boyd, rounin
2004-06-04 16:22 ` Philippe Anel
2004-06-04 16:24   ` Philippe Anel
2004-06-04 16:38   ` Russ Cox
2004-06-04 16:43     ` Charles Forsyth
2004-06-04 19:02   ` boyd, rounin
2004-06-04 18:35 ` boyd, rounin
  -- strict thread matches above, loose matches on Subject: below --
2004-06-04 16:44 Richard C Bilson
2004-06-04 14:39 Russ Cox
2004-06-04 15:20 ` Philippe Anel
2004-06-04 15:23   ` Philippe Anel
2004-06-04 18:30 ` boyd, rounin
2004-06-04 18:38   ` Russ Cox

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=ee9e417a0406040853148bdc92@mail.gmail.com \
    --to=russcox@gmail.com \
    --cc=9fans@cse.psu.edu \
    /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).