'identifier1' : cannot be initialized using address of 'thread' variable 'identifier2'
The address of variable identifier2 is a dynamic value that can be determined only in the context of a particular thread. Because it is not static, it cannot be used to initialize identifier1.