Threaded the primary function that calls Kuali so that the set of 3 API calls can be made asynchronously. Due to the way the threading was implemented, it's unlikely there will ever be more than _maxthreads (defaults to 5) simultaneous API calls at a time.
Because they are now being called from several threads at once, the __get_catalog_college_short and the __get_catalog_html_data have been made thread safe by wrapping statements that access or update non-local variables in a mutex lock.
Enhancements:
__get_catalog_college_short
and the__get_catalog_html_data
have been made thread safe by wrapping statements that access or update non-local variables in a mutex lock.