1 May 2002 14:16
Re: %gs:0 thread pseudoregister in oskit-mach
Farid Hajji <farid.hajji <at> ob.kamp.net>
2002-05-01 12:16:21 GMT
2002-05-01 12:16:21 GMT
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 | farid.hajji <at> ob.kamp.net - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - One OS To Rule Them All And In The Darkness Bind Them... --Bill Gates.
)
-Farid.
RSS Feed