Contents Up << >>
Advantages
This structure may seem more complex than is necessary, but it has
several advantages:
- Since the background threads do not directly call objects in the graphical
user interface thread, problems with re-entrant code in the
graphical interface are eliminated.
- A supervisor can parallel process with any number of worker threads
to take advantage of potentially large numbers of CPU's in SMP
computers.
- Allows for continued user-interaction with CTSim while lengthy calculations
are performed in the background.