Currently all code paths ignore the multi-threading, since the max-threads variable being set to 0 forces it to all run synchronously. However this adds the structure that multithreading would take: multiple workers, waiting for the workers to finish, breaking out when requested by the database.
Currently all code paths ignore the multi-threading, since the max-threads variable being set to 0 forces it to all run synchronously. However this adds the structure that multithreading would take: multiple workers, waiting for the workers to finish, breaking out when requested by the database.
Needs testing.