|
Class Summary |
| BarrierMap |
This class shows how to synchronice a bunch of people who perform many activities. |
| BarrierSec |
This class shows how to synchronice a bunch of people who perform many activities. |
| BobAlice |
This class shows how to use a semaphore to make sure that
Bob eats only after Alice eats. |
| BobBank |
This class shows how to synchronice a bunch of people who take money out
of the same bank account. |
| Consumer |
This is eatVowels[i]'s thread. |
| Deadlock |
Alphonse bows to Gaston and Gaston bows to Alphonse. |
| DeadlockSun |
Alphonse bows to Gaston and Gaston bows to Alphonse. |
| EatText |
This class shows how to use a semaphore to make sure that the consumer eatVowels[i]
never eats letters before the producer moreText has stored them in shared memory. |
| Friend |
Alphonse and Gaston are friends. |
| Global |
Global structure to store global data. |
| IAmAlice |
This is Alice's thread. |
| IAmBob |
Each Bob is an instance of this class. |
| MasterPI |
Uses many tasks to calculate PI. |
| Producer |
This is moreText's thread. |
| Slave |
These are the slaves that do all the work. |
| SyncData |
Contains synchronization data. |