I want some background tasks which requires pthread_create which need function as input. Well here I stuck. If I use CPointer<CFunction> I have to do everything inside that function or I define outside like c does (class concept unusable). So I need something alternative to do background task or something to pass function with freedom of exchange data between CFunction