It is very strange, that in GNU C++ in Ubuntu, inline-member funcs called by different thread will return zero values.