You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the Default<> template is hard to use and easily leads to mistakes, or at least multiple possibly unintended default executor instances (and thus more threads than intended).
In particular the static instances are not necessarily unique, globally, e.g. when used in different DLLs on Windows. I don't think this is the intention (?), however, the APIs make it all too easy not to provide an executor (and defaulting to Default<Executor>).
The text was updated successfully, but these errors were encountered:
I think the
Default<>
template is hard to use and easily leads to mistakes, or at least multiple possibly unintended default executor instances (and thus more threads than intended).In particular the static instances are not necessarily unique, globally, e.g. when used in different DLLs on Windows. I don't think this is the intention (?), however, the APIs make it all too easy not to provide an executor (and defaulting to
Default<Executor>
).The text was updated successfully, but these errors were encountered: