Add a trivial thread example