結果 : error invalid use of non static member function thread