support lambdas in threads
support lambdas and processes
Merge pull request #107 from grosser/grosser/lambdas

support lambdas