結果 : c++ function static variable thread safe