'identifier' : object with constructor cannot be declared 'thread'
Variables that are declared with the thread attribute cannot be initialized with an expression that requires evaluation at run-time, such as a constructor. A static expression must be used to initialize thread data.