[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: %gs:0 thread pseudoregister in oskit-mach
From: |
Farid Hajji |
Subject: |
Re: %gs:0 thread pseudoregister in oskit-mach |
Date: |
Wed, 1 May 2002 14:16:21 +0200 (CEST) |
Roland McGrath wrote:
> The only time %gs:0 would be changed would be by the pthreads
> implementation when doing a user-level thread switch when using the model
> of n pthreads to m kernel threads. But if an LIPC context switch happens
> the way I'm guessing (essentially a user-level switch performed by code in
> the KIP) then I imagine that pthreads would want to just use 1-to-1 and
> integrate with the LIPC optimizations.
If I understand this correctly, a pthreads implementation for L4 will
switch user-level threads by doing an explicit LIPC call _instead_ of
modifying %gs:0, right?
This is important to know, so that it can be neatly isolated in
Mach and L4 sysdeps...
-Farid.
--
Farid Hajji -- Unix Systems and Network Admin | Phone: +49-2131-67-555
Broicherdorfstr. 83, D-41564 Kaarst, Germany | address@hidden
- - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - -
One OS To Rule Them All And In The Darkness Bind Them... --Bill Gates.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: %gs:0 thread pseudoregister in oskit-mach,
Farid Hajji <=