Incorporation of SPDI
main() function
- restructured so that it was responsible for starting and finalizing the SPDI environment
- bulk of the original code in main() was moved to other functions
Four new functions were added to syntax checker
- A delegation function which determines when an object may be large enough to be a separate task
- SPDI requires three new functions for use with the Manager/Worker Paradigm
- An initialization function – most of the code that previously was called in main was put in this one
- A work function – this function was responsible for processing the retrieved task from SPDI
- A finalize function – this function handled the sending of the object and error counts to the managing process and shutting down the application