9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Gorka guardiola" <paurea@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] Creating a custom jmp_buf; libthread implementation question
Date: Tue, 14 Nov 2006 10:58:34 +0100	[thread overview]
Message-ID: <599f06db0611140158x199f40a6u43f3debcc671ee99@mail.gmail.com> (raw)
In-Reply-To: <7871fcf50611131933h1b7ee706vc56be7b37cd6b58b@mail.gmail.com>

Take a look at the implementation of set_jmp and long_jmp in assembler.
Take a look also at the messages about the stack I originated in
9fans not very long (a year?) ago. Once you understand how the stack
works, things should be smoother.

On 11/14/06, Joel Salomon <joelcsalomon@gmail.com> wrote:
> > Where in libthread does the stack get set up, and could somebody
> > please give me a high-level overview of what the code is doing?
>
> Specifically, in create.c, what is newthread doing—and how?  Unless
> that is the wrong place to look, in which case I really am lost.
>
> --Joel
>


-- 
- curiosity sKilled the cat


  parent reply	other threads:[~2006-11-14  9:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-14  3:23 Joel Salomon
2006-11-14  3:33 ` Joel Salomon
2006-11-14  9:39   ` Bruce Ellis
2006-11-14 12:34     ` Russ Cox
2006-11-14 16:15       ` Joel Salomon
2006-11-21  3:03       ` Joel Salomon
2006-11-21  3:03         ` William Josephson
2006-11-21  3:08         ` Russ Cox
2006-11-14  9:58   ` Gorka guardiola [this message]
2006-11-14 16:25     ` Joel Salomon
2006-11-14 16:38       ` Joel Salomon
2006-11-14 19:44         ` Taj Khattra
2006-11-14  5:44 ` [9fans] Skip Tavakkolian

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=599f06db0611140158x199f40a6u43f3debcc671ee99@mail.gmail.com \
    --to=paurea@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).