+ add function signature for thread/workitem sample