With this MR the thread-count of a SaC application can be changed at runtime by an external controller, with which we communicate through a Unix domain socket.
An example of such a dynamic controller is provided in: https://github.com/JordyAaldering/mtdynamic.
(Documentation provided in the code, mainly in mt_pth.c
)