en
Stephen Cleary

Concurrency in C# Cookbook

Повідомити про появу
Щоб читати цю книжку, завантажте файл EPUB або FB2 на Букмейт. Як завантажити книжку?
  • esandrewцитує4 роки тому
    IProgress and Progress types
  • esandrewцитує4 роки тому
    new CancellationTokenSource(TimeSpan.FromSeconds(3));
  • esandrewцитує4 роки тому
    For more information on System.Reactive, I recommend the excellent online book Introduction to Rx.
  • esandrewцитує4 роки тому
    Tasks should neither be extremely short, nor extremely long.
    If your tasks are too short, then the overhead of breaking up the data into tasks and scheduling those tasks on the thread pool becomes significant. If your tasks are too long, then the thread pool cannot dynamically adjust its work balancing efficiently. It’s difficult to determine how short is too short and how long is too long; it really depends on the problem being solved and the approximate capabilities of the hardware
  • esandrewцитує4 роки тому
    in general, parallel programming on the server would work against its built-in parallelism and therefore wouldn’t provide any real benefit
fb2epub
Перетягніть файли сюди, не більш ніж 5 за один раз