I read the Qt docs and know there Qt objects are not thread-safe. Currently I have a dll file which performs a number of functions which will telnet into my modem. However currently they are not thread-safe. I saw the docs mentioned the use of QMutex, so my question is how can I make the data returned to be thread-safe if my dll is being used by a multi-thread program?