ThreadPool: generic, apparently working, version
- Used currently for Gl<->LocalController assignement messages
- Still to be integrated for the parallelization of other message exchanges
- Still to be tested more extensively