Thread Safety

Calling SWMM5Simulation with input file as only argument (SWMM5Simulation will
choose the report and binary output file names) and subsequent use of the object
to retreive results is threadsafe to the degree I could verify.

There is a test test_multithreading.py in the test directory, which can be run to test this to some degree. It should be run as python test_multithreading.py.

Legacy interface

Note:

This is provided only for backward compatibility. Always use the new interface (above).