cpp/thread/stop callback/deduction guides

One deduction guide is provided for std to permit deduction from argument of invocable types.