contains my pthread related code