Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Kevin Buettner <kevinb@redhat.com>
Cc: gdb@sources.redhat.com
Subject: Re: "there is always a thread"
Date: Thu, 09 Oct 2003 15:55:00 -0000	[thread overview]
Message-ID: <3F8584E8.5080700@redhat.com> (raw)
In-Reply-To: <1031009152718.ZM12973@localhost.localdomain>


> It depends upon the stratum.  dummy_stratum and file_stratum (and
> download_stratum?) will have no thread because nothing's running yet.

I should have earlier posted that a target has 0:N threads.

>> A non-threaded app having a single thread 
>> corresponding to the main process.
> 
> 
> For the other strata, this should be (made to be) true.
> 
> A fallout from this change may be that the process_stratum and
> thread_stratum can be merged.

It depends on what you mean by merge.

There would still be a thread layer that abstracted the POSIX user 
threads and below it a process layer that abstracted the more physical 
LWPs.  However, the existing assumption that there was only one thread 
stratum and and only it could have threads would be removed.

Andrew



      reply	other threads:[~2003-10-09 15:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-09 14:27 Andrew Cagney
2003-10-09 14:30 ` Daniel Jacobowitz
2003-10-09 15:27 ` Kevin Buettner
2003-10-09 15:55   ` Andrew Cagney [this message]

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=3F8584E8.5080700@redhat.com \
    --to=ac131313@redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=kevinb@redhat.com \
    /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