Solaris Multithreaded Programming
Course Instructor |
Dr. C.-K. Shene |
Office |
Dow 204 |
Phone |
(906) 487-3392 |
e-mail |
shene@mtu.edu |
You are visitor
since July 1, 1998.
Last update: July 1, 1998.
-
How to compile your program
- Fundamentals
-
Creating threads
-
Terminating threads
-
Waiting for a thread's completion
-
Global variables
Examples
-
-
Running two independent threads
-
Running many threads that share a global
-
Yielding the control of execution
- Semaphores
-
Creating and initializing semaphores
-
Semaphore wait
-
Semaphore signal
Examples
-
-
Protecting a shared counter
-
Alternating execution
-
Bounded buffer
- Mutex and condition variables
-
Mutual exclusion locks
An example
-
-
Simulating a monitor
-
Condition variables
Examples
-
-
Bounded buffer - revisited
-
Bridge crossing
-
Mailboxes (not a Solaris feature)
-
Mailboxes
Example
-
-
Alternating execution - revisited
Please send comments and suggestions to
shene@mtu.edu