en
Stephen Cleary

Concurrency in C# Cookbook

Berätta för mig när boken läggs till
För att kunna läsa den här boken överför filer i EPUB- eller FB2-format till Bookmate. Hur laddar jag upp en bok?
  • esandrewhar citeratför 3 år sedan
    IProgress and Progress types
  • esandrewhar citeratför 3 år sedan
    new CancellationTokenSource(TimeSpan.FromSeconds(3));
  • esandrewhar citeratför 3 år sedan
    For more information on System.Reactive, I recommend the excellent online book Introduction to Rx.
  • esandrewhar citeratför 3 år sedan
    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
  • esandrewhar citeratför 3 år sedan
    in general, parallel programming on the server would work against its built-in parallelism and therefore wouldn’t provide any real benefit
fb2epub
Dra och släpp dina filer (upp till fem åt gången)