Update functors_and_threads.cpp