2013 | OriginalPaper | Buchkapitel
12. Task Scheduling
verfasst von : Richard Blewett, Andrew Clymer
Erschienen in: Pro Asynchronous Programming with .NET
Verlag: Apress
Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.
Wählen Sie Textabschnitte aus um mit Künstlicher Intelligenz passenden Patente zu finden. powered by
Markieren Sie Textabschnitte, um KI-gestützt weitere passende Inhalte zu finden. powered by
Abstract
SynchronizationContextTaskScheduler
to push task execution on to the UI thread. It turns out, however, that there is nothing special about the SynchronizationContextTaskScheduler
; the task scheduler is a pluggable component. .NET 4.5 introduced another specialized scheduler, but beyond that you can write task schedulers yourself. This chapter looks at the new scheduler introduced in .NET 4.5 and how to write a custom task scheduler. Writing custom task schedulers can be fairly straightforward, but there are some of the issues that you need to be aware of.