Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 1999 18:16:43 -0800 (PST)
From:      Julian Elischer <julian@whistle.com>
To:        Nate Williams <nate@mt.sri.com>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Threads models and FreeBSD.
Message-ID:  <Pine.BSF.4.05.9910311815330.8816-100000@home.elischer.org>
In-Reply-To: <199911010158.SAA13775@mt.sri.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sun, 31 Oct 1999, Nate Williams wrote:

> > > > maybe I should reword it to:
> > > > "Inability of one thread to unwittingly block another thread during normal
> > > > operations" ?
> > > 
> > > How about the abilty for multiple threads to execute at the same time?
> > > :)
> > well that requires multiple processors..
> > 
> >  see #2
> > maybe I need to make it more explicit?
> > 
> 
> It's the 'inability to block' that gets me.
see new improved wording to follow

> 
> > > > > > 4/ All threads see the same address space (exactly).
> > > > > > 
> > > > > > 5/ All threads share the same file resources.
> > > > > 
> > > > > All threads share all the same resources (except for thread-specific stack).
> > > > Well they can see all the other stacks, they just don't use them as the
> > > > stack. How would you better word that?
> > > 
> > > The resources are *all* shared (not just file resources), but each
> > > thread has it's own thread-specific stack.
> > 
> > ok gimme a better wording.. yours leads me to wonder if there is
> > somethign special about the mamory a particular thread's stack is on..
> 
> That's the only thing that is not 'shared' across threads.  Everything
> else is shared.

but that's wrong.. the memory is shared..
only the %sp register is differnet..


> 
> > (they don't share processor registers BTW, nor do they neccesarily share
> > proccessors if they have affinity)
> 
> That's an implementation issue.  I think most clued folks will
> understand that registers aren't shared, although in some cases they
> might be. :)

> 
> 
> 
> Nate
> 





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9910311815330.8816-100000>