documentation for extra_thread
test for extra_thread