Add thread-create sample