Re: No threads on SPARC?

pardo@cs.washington.edu (David Keppel)
Mon, 20 Apr 1992 19:27:32 GMT

          From comp.compilers

Related articles
Info needed (Sparc C compiler w/o register window) clim@ICSI.Berkeley.EDU (1992-04-14)
No threads on SPARC? (was Re: Info needed (Sparc C compiler w/o regist mueller@mount.fsu.edu (1992-04-17)
Re: No threads on SPARC? pardo@cs.washington.edu (1992-04-20)
| List of all articles for this month |

Newsgroups: comp.compilers
From: pardo@cs.washington.edu (David Keppel)
Keywords: registers, sparc
Organization: Computer Science & Engineering, U. of Washington, Seattle
References: 92-04-058 92-04-074
Date: Mon, 20 Apr 1992 19:27:32 GMT

>pardo@cs.washington.edu (David Keppel) writes:
>> [Y]ou can't write a truly user-space threads package on the SPARC ...


mueller@mount.fsu.edu (Frank Mueller) writes:
>I disagree, I implemented a stripped-down version of preemtive Pthreads
>using library implementation techniques.


To clarify (summarizing from e-mail w/ Frank Mueller): a threads package
for code built with the standard C compiler needs to trap to the kernel to
flush the windows on a thread context swap.


The thread scheduling decisions and saving and restoring of ``obvious''
processor state are done in the user space. Thus, the threads package can
be considered user-space, and can be customized and optimized for the
application, etc. However, the kernel trap is still needed, so I consider
the SPARC threads packages I've written to be not truly user-space.


;-D oN ( A terminology-space threads package ) Pardo
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.