Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space IceMaster and version 3.7.1

...

The default behavior of a call to ContinueWith is to execute the continuation in a separate thread from the .NET thread pool. If you're trying to minimize thread context switches, you can pass TaskContinuationOptions.ExecuteSynchronously as an additional argument to ContinueWith. In this case, the behavior depends on the task's status: if the reply to the proxy invocation has already been received at the time ContinueWith is called, the continuation will be invoked by the current thread. If the reply has not yet been received, the continuation will be invoked by an Ice thread pool thread.

Info

If a dispatcher is configured, the Ice thread pool delegates the execution of the continuation to the dispatcher.

...