'identifier' : object with constructor cannot be declared 'thread'
Variables declared with the thread attribute cannot be initialized with a constructor or other expression that requires run-time evaluation. A static expression is required to initialize thread data.