first encounter of Pthread.
using function object/member function pointer to cooperate with
Pthread C library.