Add threadNum default value usage in example