Fix #28 and rename dispatch_thread_list to thread_list