I\'m writting a class which has lots of set-able variables. The requirement is now that class should be thread-safe. So my options as far as I know is to use mutexes