Threads Primer: A Guide to Multithreaded Programming
Providing an overview of the Solaris and POSIX multithreading architectures, this book explains threads at a level that is completely accessible to programmers and system architects with no previous knowledge of threads. It covers the business and technical benefits of threaded programs, along with discussions of third party software that is threaded, pointing out the benefits. It also describes the design of the Solaris MT API, with references to distinctions in POSIX, contains a set of example programs which illustrate the usage of the Solaris and POSIX APIs, and explains the use of programming tools: Thread Analyzer, LockLint, LoopTool and Debugger.
12 pages matching MT safe in this book
Results 1-3 of 12
What people are saying - Write a review
We haven't found any reviews in the usual places.
Figure 24 Relationship Between a Process and Threads
43 other sections not shown
attr bound thread buffer cleanup handler Code Example completing successfully concurrency condition variable context switch corresponding error number corresponding value created thread critical section deadlock Debugger default EINVAL The value errno execution exit status fails and returns Figure following conditions occur FORTRAN global variable illegal address include pthread.h indicate the error initialized kernel LockLint loop main thread Matrix Multiplication MT program MT safe multithreaded programs mutex lock mutex variable NULL number is returned number of threads operating system POSIX threads priority priority inversion process structure processor pthread_cond_wait race condition reader/writer lock real-time release returned to indicate returns the corresponding returns zero routine runnable scheduling policy semaphore server signal handler signal mask sigwait Solaris threads API SPARCstation specified spin lock stack SunSoft synchronization variables thr_create thr_create(NULL Thread Analyzer thread_t thread-specific data thread.h threads library UNIX void waiting write zero after completing