move work_list (thrd_func_list) from history.h to execution.h, and fix the memory...