PThreads - init