CodePudding user response:
No code, can only guess, may be your call is not correct, the boost and STL may behavior is not the same asBoost:
If this policy is specified together with other policies, to the as the when using a value of the policy launch: : async | launch: : deferred, implementations should defer invocation or the selection of the policy the when no more concurrency can be effectively exploited.
STL:
If both the STD: : launch: : async and STD: : launch: : deferred flags are set in the policy, it is up to the implementation been to perform asynchronous execution or lazy evaluation.