Started pthreads integration