Add argument to thread_create