Sun Microsystems Multithreaded Programming Guide Part No: 802-5938

This guide introduces the concepts and techniques of multithreaded programming. Multithreaded programming is the process of running two or more tasks simultaneously on a single processor. This can improve the performance of applications, as it allows applications to make use of all of the processor's available resources.


Sun Microsystems Multithreaded Programming Guide Part No: 802-5938 - cover page
Brand
Sun Microsystems
Document type
User Manual
Language
English
Pages
360
File format
PDF
File size
646 KB
Published
16 October, 2023
Updated
16 October, 2023
MD5 checksum
3B1DC3390ADB4A7969FFF28E018C4FFA

About this manual

This document serves as a programming guide for creating multithreaded applications using the Sun Microsystems Threads Library. It covers fundamental concepts such as concurrency, parallelism, and scheduling, alongside practical implementation details for initializing threads and managing thread-specific data.

The text provides detailed instructions on utilizing synchronization objects like mutexes, condition variables, and semaphores to ensure safe concurrent access to shared resources. Additionally, it addresses advanced topics including process creation models, signal handling in a multithreaded environment, and the use of specific Solaris APIs distinct from POSIX standards.

What's inside

  • Covering Multithreading Basics
  • Basic Threads Programming
  • Thread Create Attributes
  • Programming with Synchronization Objects
  • Programming with the Operating System
  • Safe and Unsafe Interfaces
  • Compiling and Debugging
  • Tools for Enhancing MT Programs
  • Programming with Solaris Threads

Frequently asked questions

Which header files are used for Solaris threads?

Developers should include or depending on the chosen semantics.

How do you link a multithreaded application?

Applications must be linked with libthread or libpthread to function correctly.

Download PDF (646 KB)

More Sun Microsystems Manuals


View all Sun Microsystems manuals →