Create task_pthread