added support for starting functors/lambdas to Poco::Thread class