Abstract
We describe a model for multiple threads of control within a single UNIX process. The main goals are to provide extremely lightweight threads and to rationalize and extend the UNIX Application Programming Interface for a multithreaded environment. The threads are intended to be sufficiently lightweight so that there can be thousands present and that synchronization and context switching can be accomplished rapidly without entering the kernel. These goals are achieved by providing lightweight user-level threads that are multiplexed on top of kernel-supported threads of control. This architecture allows the programmer to separate logical (program) concurrency from the required real concurrency, which is relatively costly, and to control both within a single programming model.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
T.E. Anderson, B.N. Bershad, E.D. Lazowska, H.M. Levy, “Scheduler Activations: Effective Kernel Support of the User-Level Management of Parallelism”, Department of Computer Science and Engineering, University of Washington, Technical Report 90-04-02, April 1990.
F. Armand, F. Herrmann, J. Lipkis, M. Rozier, “Multithreaded Processes in Chorus/MIX”, Proc. EUUG Spring 1990 Conference, Munich, Germany, April 1990.
E.C. Cooper, R.P. Draves, “C Threads”, Department of Computer Science, Carnegie Mellon University, September 1990.
R. Faulkner, R. Gomes, “The Process File System and Process Model in UNIX System V”, Proc. 1991 USENIX Winter Conference.
D. Golub, R. Dean, A. Florin, R. Rashid, “UNIX as an Application Program”, Proc. 1990 USENIX Summer Conference, pp. 87–95.
J. Kepecs, “Lightweight Processes for UNIX Implementation and Applications”, Proc. 1985 USENIX Summer Conference, pp 299–308.
P.R. Mcjones and G.F. Swart, “Evolving the UNIX System Interface to Support Multithreaded Program”, Proc. 1989 USENIX Winter Conference, pp 393–404.
POSIX P1003.4a, “Threads Extension for Portable Operating Systems”, IEEE.
A. Tevanian, R.F. Rashid, D.B. Golub, D.L. Black, E. Cooper, and M.W. Young, “Mach Threads and the UNIX Kernel: The Battle for Control”, Proc. 1987 USENIX Summer Conference, pp University of California at Berkeley in 1984.
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1991 Sun Microsystems, Inc.
About this chapter
Cite this chapter
Powell, M.L., Kleiman, S.R., Barton, S., Shan, D., Stein, D., Weeks, M. (1991). SunOS Multi-Thread Architecture. In: Catanzaro, B.J. (eds) The SPARC Technical Papers. Sun Technical Reference Library. Springer, New York, NY. https://doi.org/10.1007/978-1-4612-3192-9_24
Download citation
DOI: https://doi.org/10.1007/978-1-4612-3192-9_24
Publisher Name: Springer, New York, NY
Print ISBN: 978-0-387-97634-1
Online ISBN: 978-1-4612-3192-9
eBook Packages: Springer Book Archive