Multithreaded: Updated tutorials to work with older Boost versions.

Older versions of Boost (e.g. 1.33) are only able to call a functor,
hence changed tutorial to a functor rather than a separate function.