doc thread_num member
new parallel_repeat algorithm