is_flash thread