learn process and thread