|
Unrelated Threads Related But Unsynchronized Threads
| |
Programs that use threads can often be divided into the
following levels of difficulty:
- Threads that are unrelated to each other (Easiest)
- Threads that are related to each other, but do not
need to be synchronized
- Threads that are related to each other, and need to
be synchronized
- Communicating, synchronized threads (Hardest)
Here, we'll discuss only the first two
(simplest) types. The last two (harder) types we'll discuss
later.
|