Add Check_Done().
This will check to see whether the task has been done by another thread or processor.
Add Report_Done().
This will add the current value of n to the end of done_list, checking to make sure there is enough room.