Skip to Content
Sun and Oracle
Channel Sun
How to Buy
Log In
繁體中文
docs.sun.com 首頁
>
Solaris 2.4 Software Developer AnswerBook
> Multithreaded Programming Guide
Multithreaded Programming Guide
只搜尋這本書
搜尋說明
包含在
Solaris 2.4 Software Developer AnswerBook
尋找其他文件
瀏覽文件標題
瀏覽產品文件
熱門支援資源
Sun 訓練課程
BigAdmin 系統管理入口網站
Sun 支援中心
Sun Solve
以 PDF 格式下載這本書 (320 KB)
Multithreaded Programming Guide
Cover
Credits
Contents
Tables
Code Samples
Preface
1 Covering Multithreading Basics
Defining Multithreading Terms
Benefiting From Multithreading
Looking At Multithreading Structure
Meeting Multithreading Standards
2 Programming With Threads
The Threads Library
3 Programming With Synchronization Objects
Mutual Exclusion Locks
Condition Variables
Multiple-Readers, Single-Writer Locks
Semaphores
Synchronization Across Process Boundaries
Comparing Primitives
4 Programming With the Operating System
Processes--Changes for Multithreading
Alarms, Interval Timers, and Profiling
Nonlocal Goto --setjmp (3C) and longjmp (3C)
Resource Limits
LWPs and Scheduling Classes
Extending Traditional Signals
I/O Issues
5 Safe and Unsafe Interfaces
Thread Safety
MT Interface Safety Levels
Async-Safe Functions
MT Safety Levels for Libraries
6 Compiling And Debugging
Compiling a Multithreaded Application
Debugging Multithreaded Programs
7 Programming Guidelines
Rethinking Global Variables
Providing For Static Local Variables
Synchronizing Threads
Avoiding Deadlock
Following Some Basic Guidelines
Working With Multiprocessors
A Sample Application Code
File Copy
Matrix Multiplication
RPC Program
Window System Server
B MT Safety Levels: Library Interfaces
Index
News Center
About Sun
Contact Sun
Terms of Use
Privacy
Copyright
1994-2009
Sun Microsystems, Inc.